Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ddtraceweb committed Nov 2, 2018
1 parent 69766a0 commit e548030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -17,7 +17,7 @@ module.exports = function(connect) {
var defaults = {
uri: 'mongodb://localhost:27017/test',
collection: 'sessions',
connectionOptions: {},
connectionOptions: {useNewUrlParser: true},
expires: 1000 * 60 * 60 * 24 * 14, // 2 weeks
idField: '_id'
};
Expand Down

0 comments on commit e548030

Please sign in to comment.