diff options
| author | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2019-03-13 17:13:20 +0000 |
|---|---|---|
| committer | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2019-03-13 17:13:20 +0000 |
| commit | ebf712a209964b7a55736f4281a12d05bff3ab35 (patch) | |
| tree | c9daaf1eeec9353746669f24b369a4d1ef9f5f53 /web/app.js | |
| parent | c7fbadd32feb1f3b00144545a8e13da3b6bccada (diff) | |
updated proddb config
Diffstat (limited to 'web/app.js')
| -rw-r--r-- | web/app.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |
