You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Framework app redirects stop working after a deploy that inherits a Worker secret #958
Once a Worker has a secret, void deploy --platform cloudflare uploads later versions through Cloudflare's Versions API so they inherit it.
For framework apps such as Astro or TanStack Start, that upload sends the assets' _headers but leaves out _redirects, so their redirects stop working from that deploy on:
GET /old -> 404
To reproduce, deploy an Astro SSR app with /old /target.txt 302 in public/_redirects to a Worker that already has a secret, then request /old.
I checked this against a local mock of the Cloudflare API, not a real account.
Plain Void apps aren't affected, because they compile their _redirects rules into the Worker.
Activity