Skip to content

Commit

Permalink
Merge pull request #3 from nickie/nickie
Browse files Browse the repository at this point in the history
Fix hiredis and express-session
  • Loading branch information
matthewbdaly committed Jul 31, 2017
2 parents 0820659 + cf8a36b commit 668598b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion index.js
Expand Up @@ -33,7 +33,9 @@ sessionMiddleware = session({
store: new RedisStore({
client: client
}),
secret: 'blibble'
secret: 'blibble',
resave: true,
saveUninitialized: true
});
app.use(sessionMiddleware);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -17,7 +17,7 @@
"express": "^4.10.4",
"express-session": "^1.10.2",
"hbs": "^2.7.0",
"hiredis": "^0.1.17",
"hiredis": "^0.5.0",
"morgan": "^1.6.1",
"redis": "^0.12.1",
"socket.io": "^1.2.1",
Expand Down

0 comments on commit 668598b

Please sign in to comment.