Rewrite SPA routes to index.html on Vercel
cgen-dca12d5c985042979919fbe39261816e
This commit is contained in:
parent
247f711755
commit
bcbfb2273b
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
"source": "/api/:path*",
|
"source": "/api/:path*",
|
||||||
"destination": "https://e7c3806a9bfe4bdf9bb8a72a7f0d31cd-324f24a826ec4eb198c1a0eef.fly.dev/api/:path*"
|
"destination": "https://e7c3806a9bfe4bdf9bb8a72a7f0d31cd-324f24a826ec4eb198c1a0eef.fly.dev/api/:path*"
|
||||||
},
|
},
|
||||||
{ "source": "/(.*)", "destination": "/" }
|
{ "source": "/(.*)", "destination": "/index.html" }
|
||||||
],
|
],
|
||||||
"headers": [
|
"headers": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue