diff options
-rw-r--r-- | index.js | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -25,9 +25,7 @@ app.use(session({ secret: masterKey, resave: false, saveUninitialized: true, - store: MongoSessionStore.create({ - mongoUrl: mongoUrl - }), + store: MongoSessionStore.create({ mongoUrl }), cookie: { maxAge: 1000 * 60 * 60 * 24 // 1 day } |