diff --git a/server.js b/server.js index d96c84f..d6b434a 100644 --- a/server.js +++ b/server.js @@ -60,10 +60,10 @@ app.use(session({ secure: true, // true for https only (since our app works only with https) }, name: 'om.sid', - store: new MongoStore({ - mongooseConnection: mong.connection, - ttl: 30 * 24 * 3600, - }), // mongoose + connect-mongo +// store: new MongoStore({ +// mongooseConnection: mong.connection, +// ttl: 30 * 24 * 3600, +// }), // mongoose + connect-mongo //store: new MemoryStore ({checkPeriod: 24*3600*1000}), // memorystore }));