Browse Source

Demo: exclude MemoryStore

developer
Erik Römmelt 5 years ago
parent
commit
675b9051dc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      server.js

+ 1
- 1
server.js View File

@@ -64,7 +64,7 @@ app.use(session({
mongooseConnection: mong.connection,
ttl: 30 * 24 * 3600,
}), // mongoose + connect-mongo
store: new MemoryStore ({checkPeriod: 24*3600*1000}), // memorystore
// store: new MemoryStore ({checkPeriod: 24*3600*1000}), // memorystore
}));

// Favicon for Desktop

Loading…
Cancel
Save