Merge pull request #104 from cmgustavo/bug/02message-connect-mongodb
a warning
This commit is contained in:
commit
03a01ca29c
|
@ -25,7 +25,7 @@ var config = require('./config/config');
|
||||||
|
|
||||||
//Bootstrap db connection
|
//Bootstrap db connection
|
||||||
// If mongod is running
|
// If mongod is running
|
||||||
mongoose.connection.on('open', function (ref) {
|
mongoose.connection.on('open', function () {
|
||||||
console.log('Connected to mongo server.');
|
console.log('Connected to mongo server.');
|
||||||
});
|
});
|
||||||
// If mongod is not running
|
// If mongod is not running
|
||||||
|
|
Loading…
Reference in New Issue