diff --git a/vercel.json b/vercel.json index 1085861..c797450 100644 --- a/vercel.json +++ b/vercel.json @@ -2,12 +2,11 @@ "version": 2, "buildCommand": "npm run build", "outputDirectory": "client/dist", - "builds": [ - { - "src": "server/index.ts", - "use": "@vercel/node" + "functions": { + "server/index.ts": { + "maxDuration": 30 } - ], + }, "routes": [ { "src": "/api/(.*)", @@ -21,10 +20,5 @@ "src": "/(.*)", "dest": "/index.html" } - ], - "functions": { - "server/index.ts": { - "maxDuration": 30 - } - } + ] } \ No newline at end of file