This commit is contained in:
赵鑫 2022-09-07 16:14:57 +08:00
parent 75be76758d
commit d79af37566
2 changed files with 3 additions and 1 deletions

2
.env.example Normal file
View File

@ -0,0 +1,2 @@
PORT=8080
MONGODB_URL="mongodb://localhost/test"

View File

@ -4,8 +4,8 @@
"description": "赵家小站",
"main": "server.js",
"scripts": {
"start": "node server",
"dev": "nodemon server",
"start": "PORT=8080 pm2 start server.js --name 'Zhao Server:8080' --watch",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {