Skip to content

Commit 4f03c91

Browse files
committed
fix: simplify Vercel rewrite rule to fix SPA routing 404s
1 parent 4488495 commit 4f03c91

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/site/vercel.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"cleanUrls": true,
88
"rewrites": [
99
{
10-
"source": "/((?!assets/|api/).*)",
11-
"destination": "/index.html"
10+
"source": "/(.*)",
11+
"destination": "/"
1212
}
1313
],
1414
"headers": [

0 commit comments

Comments
 (0)