diff options
| author | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-07 18:54:28 +0000 |
|---|---|---|
| committer | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-07 18:54:28 +0000 |
| commit | 2b7c39ed65c6652c24f1f5140214bae7f3438960 (patch) | |
| tree | 49173d42fd42892562f1475a948ecb643fdd2fb7 /web/app.js | |
| parent | 4bcda39aeae66b838c79e953e98c54055c3ecb70 (diff) | |
Added comments and made DOM easier to work with.
Diffstat (limited to 'web/app.js')
| -rw-r--r-- | web/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,9 +23,9 @@ app.use(express.static(path.join(__dirname, 'public'))); 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?retryWrites=true' + // uri = 'mongodb+srv://development:dreamteam@cluster0-krnr4.mongodb.net/helpthehome?retryWrites=true' } else if (env === 'qa') { uri = process.env.MONGODB_URI } else if (env === 'production') { |
