Fixed unset mongodb uri environment variable.

This commit is contained in:
Harrison Deng 2022-04-08 13:26:31 -05:00
parent 1c704cb606
commit f65fbd70aa

View File

@ -7,7 +7,7 @@
"main": "server.js",
"scripts": {
"develop": "NODE_ENV=development nodemon server.js",
"start": "NODE_ENV=production node server.js",
"start": "NODE_ENV=production MONGODB_URI=mongodb+srv://sports-matcher:PFebEO0btV91HjwF@cluster0.bow9f.mongodb.net/myFirstDatabase?retryWrites=true&w=majority node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
@ -26,4 +26,4 @@
"mongoose": "^6.2.8",
"validator": "^13.7.0"
}
}
}