Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
feat: added engine in package.josn (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sreesanjay authored Mar 10, 2024
2 parents 17d87ec + c2e5291 commit 4819b5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions server/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "/"
}
]
}

0 comments on commit 4819b5d

Please sign in to comment.