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
真心下了好多demo,你的终于跑出来了。感谢啊! but,可能是 nodejs版本问题,我启动的时候报错 express-session deprecated undefined resave option; provide resave option app.js
后来我调整了2个地方: app.use(session({ secret:'secret', cookie:{ maxAge:10006030 }, resave: true, saveUninitialized: true }));
添加了 , resave: true, saveUninitialized: true 依赖的地方:package.json "express-session": "*", 然后跑起来了,真不容易啊(我之前是做web后端的)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
真心下了好多demo,你的终于跑出来了。感谢啊!
but,可能是 nodejs版本问题,我启动的时候报错
express-session deprecated undefined resave option; provide resave option app.js
后来我调整了2个地方:
app.use(session({
secret:'secret',
cookie:{
maxAge:10006030
}, resave: true, saveUninitialized: true
}));
添加了 , resave: true, saveUninitialized: true
依赖的地方:package.json "express-session": "*",
然后跑起来了,真不容易啊(我之前是做web后端的)
The text was updated successfully, but these errors were encountered: