Strange workers logs issues
Hello all
I deploy sveltekit app to cloudflare workers and notice two strange behaviours going on with logs
1) Each page change on sveltekit app logs error
POST is not allowed in this path
or no action named default found
error, I don't see this anywhere else other than worker logs (local, network tab also tried vercel logs and nodejs vps logs jus to make sure) so I think there is some clash happening with worker logs <> sveltekit adapter
2) My worker has two domains assigned www.domain.com
and domain.com
and I have a vps hosted service on api.domain.com
meaning it has no relation to the workers but I get a log when I refresh the page at api.domain.com
with not found error (page works fine its just falsy unexpected error log being logged on cloudflare workers logs dashboard)
this is my log settings in wrangler.toml
1 Reply
example log id for 1)
example log id for 2)
Ok seems like it was zaraz sending each request for whole root domain to my worker resolved by disabling the option