Skip to content

Commit 2659ce9

Browse files
committed
fix: Configure Vercel rewrites for SPA routing to fix direct /privacy access
1 parent ea88505 commit 2659ce9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

mobile/vercel.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"buildCommand": "",
44
"installCommand": "",
55
"outputDirectory": "build/web",
6-
"builds": [
7-
{ "src": "build/web/**", "use": "@vercel/static" }
8-
],
9-
"routes": [
10-
{ "src": "/(.*)", "dest": "/build/web/$1" }
6+
"rewrites": [
7+
{
8+
"source": "/(.*)",
9+
"destination": "/index.html"
10+
}
1111
]
1212
}
1313

0 commit comments

Comments
 (0)