Skip to content

Commit 525616e

Browse files
authored
fix: add vercel.json for SPA routing (#119)
2 parents 9d20a4e + 0aed452 commit 525616e

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)