Rewrite SPA routes to index.html on Vercel

cgen-dca12d5c985042979919fbe39261816e
This commit is contained in:
Builder.io 2025-10-19 01:24:26 +00:00
parent 247f711755
commit bcbfb2273b

View file

@ -7,7 +7,7 @@
"source": "/api/:path*",
"destination": "https://e7c3806a9bfe4bdf9bb8a72a7f0d31cd-324f24a826ec4eb198c1a0eef.fly.dev/api/:path*"
},
{ "source": "/(.*)", "destination": "/" }
{ "source": "/(.*)", "destination": "/index.html" }
],
"headers": [
{