Sveltekit on Cloudflare pages can't find JS assets
I've just deployed a new sveltekit app to https://blossom.sh and the JS assets aren't loaded. I've attached a screenshot.
They work fine from the pages.dev domain https://blossom-website.pages.dev. Is there some kind of caching thing going on? I've purged cache, removed the app and redeployed it - to no effect.
Would appreciate any help, thanks!
Deployment ID: 7321a922-2aab-44f5-bd9e-1ee442cd5c4b
2 Replies
even the 404s are way different
https://blossom.sh/_app/immutable/entry/hi
https://blossom-website.pages.dev/_app/immutable/entry/hi
Almost looks like you have a rule or something running just if the path starts with
_
I would run it through trace "https://blossom.sh/_app/immutable/entry/start.CAR86pp7.js" under your Account -> Trace -> Begin Trace (https://dash.cloudflare.com/?to=/:account/trace/), and see what it hits, Could be a Worker or Transform Rule, or something else sillyThat trace tool is brilliant! It was a worker rule. I'm dumb. Many thanks! 🙏🙏🙏