diff --git a/vercel.json b/vercel.json index cc79e2f6..0ddf6b0d 100644 --- a/vercel.json +++ b/vercel.json @@ -35,8 +35,7 @@ } ], "rewrites": [ - { "source": "/api/:path*", "destination": "/api/:path*" }, - { "source": "/(.*)", "destination": "/index.html" } + { "source": "/(?!api).*", "destination": "/index.html" } ], "headers": [ {