Skip to content

Commit c12db5b

Browse files
committed
fix(server): fixed connect-mongo error
closes #85
1 parent 71d63f0 commit c12db5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/express/config/express.js

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ module.exports = function(app) {
5151
store: new mongoStore({
5252
url: config.mongo.uri,
5353
collection: 'sessions'
54+
}, function () {
55+
console.log("db connection open");
5456
})
5557
}));
5658

0 commit comments

Comments
 (0)