diff --git a/vercel.json b/vercel.json index 545fcd0b..be8a7bbc 100644 --- a/vercel.json +++ b/vercel.json @@ -1,19 +1,11 @@ { "rewrites": [ { - "source": "/api/(.*)", - "destination": "/api/$1" - }, - { - "source": "/(.*\\.(?:js|css|jpg|jpeg|png|gif|svg|ico|woff|woff2|ttf|eot|webp|json|xml))$", - "continue": true - }, - { - "source": "/[^.]+", + "source": "/", "destination": "/api/ssrOG" }, { - "source": "/", + "source": "/:path((?!.*\\.).*)", "destination": "/api/ssrOG" } ],