We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在使用该插件时:TypeError: Cannot set property name of which has only a getter at defaultErrorHanlder
The text was updated successfully, but these errors were encountered:
app.keys = ['SD123ui_sd$@']; app.use(session({ key: 'weibo.sid', // cookie name 默认是 koa.sid prefix: 'weibo:sess:', // redis key 的前缀,默认是 koa:sess: cookie: { path: '/', httpOnly: true, maxAge: 24 * 60 * 60 * 1000 // 单位 ms }, store: redisStore({ all: ${redisConfig.host}:${redisConfig.port} }) }))
koa.sid
koa:sess:
${redisConfig.host}:${redisConfig.port}
Sorry, something went wrong.
遇到同样问题,请问怎么解决的
store: redisStore({ // all: '127.0.0.1:56379' host: '127.0.0.1', port: '56379' })
-- resolved
No branches or pull requests
在使用该插件时:TypeError: Cannot set property name of which has only a getter
at defaultErrorHanlder
The text was updated successfully, but these errors were encountered: