set the port by env.PORT, specific node version in package.json

This commit is contained in:
LouisLam
2021-07-29 00:52:41 +08:00
parent 435e4faef3
commit 063697c20a
2 changed files with 4 additions and 1 deletions

View File

@@ -6,6 +6,9 @@
"type": "git",
"url": "https://github.com/louislam/uptime-kuma.git"
},
"engines": {
"node": ">=14"
},
"scripts": {
"dev": "vite --host",
"start": "npm run start-server",