有个bug是`secret` option required for sessions求指点
在照《nodejs开发指南》一书做microblog有段代码是这样的
app.use(express.session({
secret: settings.cookiesSecret,
store: new MongoStore({
db: settings.db
})
}))
app.use(app.router);
总是报错,secret
option required for sessions求指点这是哪出问题了?