Skip to content

Commit 94d86de

Browse files
committed
update
1 parent 4fea907 commit 94d86de

File tree

4 files changed

+1350
-123
lines changed

4 files changed

+1350
-123
lines changed

src/config/config.development.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"databaseConfig": {
3-
"host": "localhost",
3+
"host": "193.112.195.120:27017",
44
"database": "customermanager"
55
}
66
}

src/lib/database.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Module dependencies
22
const mongoose = require('mongoose'),
33
dbConfig = require('./configLoader').databaseConfig,
4-
connectionString = 'mongodb://' + dbConfig.host + '/' + dbConfig.database;
4+
connectionString = 'mongodb://root:123456@' + dbConfig.host + '/' + dbConfig.database;
55

66
let connection = null;
77

0 commit comments

Comments
 (0)