Browse Source

Demo: changes for remote mongoDB

developer
Erik Römmelt 5 years ago
parent
commit
389a744ebe
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      server/dbs.js

+ 1
- 1
server/dbs.js View File

@@ -305,7 +305,7 @@ const dbs = {
* Local db: common.config.dbLocalConn
* TH db: common.config.dbConn
*/
common.mongoose.connect(common.config.dbLocalConn, {
common.mongoose.connect(common.config.dbConn, {
useNewUrlParser: true
}).then(() => {
console.log("Database connected successfully.");

Loading…
Cancel
Save