Skip to content

Commit a72027c

Browse files
Copilottonyqiu123
authored andcommitted
Add vercel.json to fix SPA routing for direct URL access
Co-authored-by: tonyqiu123 <90103972+tonyqiu123@users.noreply.github.com>
1 parent 0426aab commit a72027c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

frontend/vercel.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"rewrites": [
3+
{
4+
"source": "/(.*)",
5+
"destination": "/index.html"
6+
}
7+
]
8+
}

0 commit comments

Comments
 (0)