aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/index.js b/index.js
index b772ad2..cfd6592 100644
--- a/index.js
+++ b/index.js
@@ -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
}