Created
June 24, 2018 11:32
-
-
Save AndrejGajdos/221f9207b91ae9b4cae6a273f0a64a4a to your computer and use it in GitHub Desktop.
Initialization of koa session. Whole file is available https://github.com/AndrejGajdos/auth-flow-spa-node-react/blob/master/script/server.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.use( | |
session( | |
{ | |
store: redisStore(), | |
}, | |
app, | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment