Eric Chernuka
Eric Chernuka
CDCloudflare Developers
Created by Eric Chernuka on 4/15/2025 in #pages-help
_routes.json not being leveraged
Got it, so we do essentially want a 404 in the assets directory
12 replies
CDCloudflare Developers
Created by Eric Chernuka on 4/15/2025 in #pages-help
_routes.json not being leveraged
I think the docs indicate I need the 404.html at the root based on what I've read and not under the assets folder. I'll give it a go
12 replies
CDCloudflare Developers
Created by Eric Chernuka on 4/15/2025 in #pages-help
_routes.json not being leveraged
So when an /assets/index-hash.js is found, it returns the source. When not found, I need it to return a 404 header so that vite's module import can throw an event indicating the asset is no longer present.
12 replies
CDCloudflare Developers
Created by Eric Chernuka on 4/15/2025 in #pages-help
_routes.json not being leveraged
Essentially what I'm looking for is for CF to indicate a 404. Right now its returning a 200 and the SPA index.html which then causes the app to explode.
12 replies
CDCloudflare Developers
Created by Eric Chernuka on 4/15/2025 in #pages-help
_routes.json not being leveraged
Ya, I think I need a 404 page for the fall through of content under the exclusion list.
12 replies
CDCloudflare Developers
Created by Eric Chernuka on 4/15/2025 in #pages-help
_routes.json not being leveraged
No description
12 replies
CDCloudflare Developers
Created by Eric Chernuka on 4/15/2025 in #pages-help
_routes.json not being leveraged
We're also uploading using pages deploy dist
12 replies