aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorIvan Shen <iwshen11@gmail.com>2019-03-05 21:12:26 +0000
committerGitHub <noreply@github.com>2019-03-05 21:12:26 +0000
commit3f5bea8fd49106249272e5f0f9158cbcd76c89a4 (patch)
tree01b862cf7dd8bd2528e4d1687ab4e24ecb7972ae /web
parent0a573cc3e918e751f5a9e02f5877f7786636539d (diff)
Point back to local db
Diffstat (limited to 'web')
-rw-r--r--web/app.js4
1 files 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') {