Server start command fixed.

Environment variable encapsulated within quotes.
This commit is contained in:
Harrison Deng 2022-04-09 15:56:31 -05:00
parent f65fbd70aa
commit 450fcfeb5a

View File

@ -7,7 +7,7 @@
"main": "server.js",
"scripts": {
"develop": "NODE_ENV=development nodemon 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",
"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": "",