diff --git a/server/package.json b/server/package.json index 2a9a3c6..56fa59a 100644 --- a/server/package.json +++ b/server/package.json @@ -3,6 +3,9 @@ "version": "1.0.0", "description": "", "main": "app.js", + "engines": { + "node": "18.x" + }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "nodemon app.js", diff --git a/server/vercel.json b/server/vercel.json index 0ae5106..ef45b38 100644 --- a/server/vercel.json +++ b/server/vercel.json @@ -2,14 +2,14 @@ "version": 2, "builds": [ { - "src": "app.js", - "use": "@now/node" + "src": "./app.js", + "use": "@vercel/node" } ], "routes": [ { "src": "/(.*)", - "dest": "app.js" + "dest": "/" } ] } \ No newline at end of file