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": [
|
||||
{ "source": "/api/:path*", "destination": "/api/:path*" },
|
||||
{ "source": "/(.*)", "destination": "/index.html" }
|
||||
{ "source": "/(?!api).*", "destination": "/index.html" }
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue