Worker Static Assets __redirects
Hi, I want to use Static Assets to host a completely static react SPA that uses tanstack query. To get URLs working I need to configure
I see on https://developers.cloudflare.com/workers/static-assets/compatibility-matrix/ that
I see there are bulk redirect options, but in testing those drop the path, with no option to keep it.
Is there any way to set redirects for a static site?
__redirects with /* /index.html 200. I see on https://developers.cloudflare.com/workers/static-assets/compatibility-matrix/ that
__redirects is supported in workers with this community plugin. But that seems to require a WorkerEntrypoint, which I do not have since my site is completely static.I see there are bulk redirect options, but in testing those drop the path, with no option to keep it.
Is there any way to set redirects for a static site?
Cloudflare Docs
Compatibility matrix for asset hosting on Cloudflare Workers and Pages.
