Skip to content

fix(web): add Cloudflare Pages _redirects for SPA routing#14

Merged
ofcskn merged 1 commit into
mainfrom
development
May 19, 2026
Merged

fix(web): add Cloudflare Pages _redirects for SPA routing#14
ofcskn merged 1 commit into
mainfrom
development

Conversation

@ofcskn

@ofcskn ofcskn commented May 19, 2026

Copy link
Copy Markdown
Owner

Without this, all routes (including /) return 404 because Cloudflare Pages looks for a real file at each path. The wildcard redirect serves index.html for every path so React Router handles routing client-side.

Without this, all routes (including /) return 404 because Cloudflare
Pages looks for a real file at each path. The wildcard redirect serves
index.html for every path so React Router handles routing client-side.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ofcskn ofcskn merged commit 2129f9a into main May 19, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant