aboutsummaryrefslogtreecommitdiff
path: root/web/app.js
diff options
context:
space:
mode:
authorSamarth Agarwal <samarth.agarwal@mail.utoronto.ca>2019-03-07 04:07:12 +0000
committerSamarth Agarwal <samarth.agarwal@mail.utoronto.ca>2019-03-07 04:07:12 +0000
commit4bcda39aeae66b838c79e953e98c54055c3ecb70 (patch)
tree9633a8bdaf272c290cd1440f7564e8a363ac2d72 /web/app.js
parent97ae21bf83fb04526269442e2fa3954d99d18665 (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.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app.js b/web/app.js
index f0ae3a5..3ad2697 100644
--- a/web/app.js
+++ b/web/app.js
@@ -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') {