diff --git a/server/vercel.json b/server/vercel.json index 18da4e3..bfa0aa7 100644 --- a/server/vercel.json +++ b/server/vercel.json @@ -1,3 +1,15 @@ { - "rewrites": [{ "source": "/(.*)", "destination": "/api" }] + "version": 2, + "builds": [ + { + "src": "*.js", + "use": "@vercel/node" + } + ], + "routes": [ + { + "src": "/(.*)", + "use": "/" + } + ] }