express.io
express.io copied to clipboard
Redis session example
Example for redis sessions: https://github.com/techpines/express.io/blob/master/examples/sessions-redis/app.js
The example does not seem to be correct as RedisStore = require('connect-redis')(express) requires session and not the express.io itself.
Using express.io there results in the following error:
TypeError: The super constructor to inherits must not be null or undefined.
in connect-redis package
I suggest replace it with express.session.