diff options
| author | Ivan Shen <iwshen11@gmail.com> | 2019-03-05 21:12:26 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-05 21:12:26 +0000 |
| commit | 3f5bea8fd49106249272e5f0f9158cbcd76c89a4 (patch) | |
| tree | 01b862cf7dd8bd2528e4d1687ab4e24ecb7972ae /web | |
| parent | 0a573cc3e918e751f5a9e02f5877f7786636539d (diff) | |
Point back to local db
Diffstat (limited to 'web')
| -rw-r--r-- | web/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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') { |
