Skip to content

205 ensure catchall returns 404 on prod #206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ianjmacintosh
Copy link
Owner

No description provided.

Cloudflare Pages has some different behavior than React Router CLI's dev server

Specifically Cloudflare Pages doesn't support dynamic routes, I'd have to use the prerender() API
This renders an ugly 404 page with the correct status code
@ianjmacintosh ianjmacintosh linked an issue Mar 21, 2025 that may be closed by this pull request
Copy link

cloudflare-workers-and-pages bot commented Mar 21, 2025

Deploying usdgal with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8c7f6ee
Status: ✅  Deploy successful!
Preview URL: https://da86e111.usdgal.pages.dev
Branch Preview URL: https://205-ensure-catchall-returns.usdgal.pages.dev

View logs

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.

Ensure catchall returns 404 on prod
1 participant