Skip to content

Commit 0db1443

Browse files
committed
fix: correct SPA rewrite to serve index.html for client routes
1 parent 5ea482a commit 0db1443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
},
1111
"rewrites": [
1212
{ "source": "/api/(.*)", "destination": "/app/api/$1" },
13-
{ "source": "/(.*)", "destination": "/app/dist/$1" }
13+
{ "source": "/(.*)", "destination": "/index.html" }
1414
]
1515
}

0 commit comments

Comments
 (0)