From 3f5bea8fd49106249272e5f0f9158cbcd76c89a4 Mon Sep 17 00:00:00 2001 From: Ivan Shen Date: Tue, 5 Mar 2019 16:12:26 -0500 Subject: Point back to local db --- web/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app.js b/web/app.js index 0dd447d..9d6e9d0 100644 --- a/web/app.js +++ b/web/app.js @@ -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?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') { -- cgit v1.2.3