Skip to content

Commit 7d21241

Browse files
feat: add Vercel configuration and redirects for SPA routing
1 parent a7a5525 commit 7d21241

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

public/_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* /index.html 200

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)