diff options
| author | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-07 04:07:12 +0000 |
|---|---|---|
| committer | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-03-07 04:07:12 +0000 |
| commit | 4bcda39aeae66b838c79e953e98c54055c3ecb70 (patch) | |
| tree | 9633a8bdaf272c290cd1440f7564e8a363ac2d72 /web/app.js | |
| parent | 97ae21bf83fb04526269442e2fa3954d99d18665 (diff) | |
Added functionality so that whenever a point is clicked it opens up a Details sidebar which shows information about that point.
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') { |
