johnrees
CDCloudflare Developers
•Created by johnrees on 1/20/2025 in #workers-help
using `not_found_handling = "single-page-application"` and a worker script together?
I'm trying to deploy an SPA using workers assets (https://developers.cloudflare.com/workers/static-assets/get-started/#deploy-a-full-stack-application)
but I'd also like to be able to 'fall back' to the worker script if the SPA's routing logic rejects the request.
Currently if I have something like
in my
wrangler.toml
file, and if I make a request to http://localhost:8787/foo/bar it gets routed to the worker at src/index.ts
I would expect this request be handled by public/index.html
instead, where I could then decide if I want to route the request to the worker or render content based on the URL
Is this possible? Thanks!6 replies
CDCloudflare Developers
•Created by johnrees on 11/18/2024 in #workers-help
workers.dev domains have suddenly gone offline
we're an enterprise client and all of our workers that don't have custom hostnames, accessed via [scope].workers.dev domains are returning 'There is nothing here yet'
36 replies