Fixed unset mongodb uri environment variable.
This commit is contained in:
parent
1c704cb606
commit
f65fbd70aa
@ -7,7 +7,7 @@
|
|||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"develop": "NODE_ENV=development nodemon server.js",
|
"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"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
@ -26,4 +26,4 @@
|
|||||||
"mongoose": "^6.2.8",
|
"mongoose": "^6.2.8",
|
||||||
"validator": "^13.7.0"
|
"validator": "^13.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user