From f65fbd70aad52081c6f4989f26bb7d31c2fc0868 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 8 Apr 2022 13:26:31 -0500 Subject: [PATCH] Fixed unset mongodb uri environment variable. --- sports-matcher/server/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sports-matcher/server/package.json b/sports-matcher/server/package.json index 9d930a2..7e31335 100644 --- a/sports-matcher/server/package.json +++ b/sports-matcher/server/package.json @@ -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" } -} +} \ No newline at end of file