Eric Chernuka
CDCloudflare Developers
•Created by Eric Chernuka on 4/15/2025 in #pages-help
_routes.json not being leveraged
I have an TanStack Router SPA that is leveraging a
_routes.json
. The page loads fine, but we're finding that when an asset is missing from under /assets/*
it returns the SPA 404 page which then breaks all manner of things due to it return html when the mime types requested are css/js. Am I configuring this incorrectly?
12 replies