Fix Vercel rewrite to properly exclude /api routes
cgen-950098149d4a4d608ac35a46661d8bd3
This commit is contained in:
parent
57c84fc80c
commit
da296abc1f
1 changed files with 1 additions and 2 deletions
|
|
@ -35,8 +35,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"rewrites": [
|
"rewrites": [
|
||||||
{ "source": "/api/:path*", "destination": "/api/:path*" },
|
{ "source": "/(?!api).*", "destination": "/index.html" }
|
||||||
{ "source": "/(.*)", "destination": "/index.html" }
|
|
||||||
],
|
],
|
||||||
"headers": [
|
"headers": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue