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

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

Loading…
Cancel
Save