Skip to content

Fix route rewrite for SPA in vercel#3

Merged
webpiratt merged 1 commit intomainfrom
fix/vercel-routing
Feb 7, 2026
Merged

Fix route rewrite for SPA in vercel#3
webpiratt merged 1 commit intomainfrom
fix/vercel-routing

Conversation

@Ehsan-saradar
Copy link
Contributor

@Ehsan-saradar Ehsan-saradar commented Feb 7, 2026

Add vercel.json to rewrite all non-file routes (paths without a dot) to the root (/) with status 200. This enables client-side routing for a single-page app by serving the app shell for application routes.

Fix vultisig/recipes#511

Add vercel.json to rewrite all non-file routes (paths without a dot) to the root (/) with status 200. This enables client-side routing for a single-page app by serving the app shell for application routes.
@vercel
Copy link

vercel bot commented Feb 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
developer-portal Ready Ready Preview, Comment Feb 7, 2026 4:53pm

Request Review

@Ehsan-saradar Ehsan-saradar requested a review from 4others February 7, 2026 16:53
@webpiratt webpiratt merged commit 2f8d49c into main Feb 7, 2026
6 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.

Update fallback pages / configure index.html

2 participants