Skip to content

Commit 0aed452

Browse files
committed
fix: add vercel.json for SPA routing
1 parent 90c15d1 commit 0aed452

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

frontend/vercel.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
{
44
"source": "/api/(.*)",
55
"destination": "http://jobsglobalscraper.ddns.net/api/$1"
6+
},
7+
{
8+
"source": "/(.*)",
9+
"destination": "/index.html"
610
}
711
]
812
}

0 commit comments

Comments
 (0)