Skip to content

Commit

Permalink
updating to mongodb 3.0 compatible drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
btouellette committed Sep 11, 2015
1 parent 3c6edac commit a10fc51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"body-parser": "~1.4.3",
"cookie-parser": "~1.3.1",
"ejs": "~1.0.0",
"mongoose": "~3.8.12",
"mongoose": "~4.1.6",
"passport": "~0.2.0",
"passport-local": "~1.0.0",
"passport-facebook": "~1.0.3",
"passport-twitter": "~1.0.2",
"passport-google-oauth": "~0.1.5",
"connect-flash": "~0.1.1",
"connect-mongo": "~0.4.1",
"connect-mongo": "~0.8.2",
"bcrypt-nodejs": "latest",
"tunnel": "0.0.3",
"socket.io": "~1.0.6",
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var MongoStore = require('connect-mongo')(session);
// https://github.com/kcbanner/connect-mongo/issues/80
var sessionStore = new MongoStore({
url: configDB.url,
auto_reconnect: true
autoReconnect: true
});

mongoose.connect(configDB.url); // connect to our database
Expand Down

0 comments on commit a10fc51

Please sign in to comment.