diff options
| author | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-21 17:23:30 +0000 |
|---|---|---|
| committer | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-21 17:23:30 +0000 |
| commit | 091364a736c41812347f527930228d51a15a8df7 (patch) | |
| tree | 7b8abdaf9424894a07ef208489c9624405340d60 /web/app.js | |
| parent | 672e6f2a3bb27b6e3f3d4cff3425cfc653e07be6 (diff) | |
Saving changes before merge.
Diffstat (limited to 'web/app.js')
| -rw-r--r-- | web/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,9 +24,9 @@ app.use(require('./routes/sse')); var env = process.env.NODE_ENV || 'development'; var uri; if (env === 'development') { - uri = 'mongodb://localhost:27017/helpthehome' + // uri = 'mongodb://localhost:27017/helpthehome' // use for small testing only if really necessary - // uri = 'mongodb+srv://development:dreamteam@cluster0-krnr4.mongodb.net/helpthehome_devel?retryWrites=true' + uri = 'mongodb+srv://development:dreamteam@cluster0-krnr4.mongodb.net/helpthehome_devel?retryWrites=true' } else { // for qa and production set it on heroku config vars uri = process.env.MONGODB_URI |
