diff options
| author | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-26 20:22:52 +0000 |
|---|---|---|
| committer | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-26 20:22:52 +0000 |
| commit | 0968d87c5b9f16bcd7e7ccbf2654abb4ac5a7a7b (patch) | |
| tree | 968d25b58911e83d442cb22b14c316268cfd87ee | |
| parent | 2493c7ca0161250ed1209c2140c43002c36cd0eb (diff) | |
Commented out correct line in app.js to connect to database.
| -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 |
