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

feat: added engine in package.josn #91

Merged
merged 1 commit into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "/"
}
]
}