aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/app.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/app.js b/web/app.js
index 9d6e9d0..6b81ea4 100644
--- a/web/app.js
+++ b/web/app.js
@@ -27,10 +27,9 @@ if (env === 'development') {
uri = 'mongodb://localhost:27017/helpthehome'
// use for small testing only if really necessary
// uri = 'mongodb+srv://development:dreamteam@cluster0-krnr4.mongodb.net/helpthehome?retryWrites=true'
-} else if (env === 'qa') {
+} else {
+ // for qa and production set it on heroku config vars
uri = process.env.MONGODB_URI
-} else if (env === 'production') {
- uri = ''
}
// Mongoose connection to MongoDB