We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a49b02 commit a01576bCopy full SHA for a01576b
server/app.js
@@ -71,7 +71,7 @@ async function start () {
71
key: consts.SESS_KEY
72
}
73
// session for flash messages (uses signed session cookies, with no server storage)
74
- app.use(session(SESSION_CONFIG, app)) // note koa-session@3.4.0 is v1 middleware which generates deprecation notice
+ app.use(session(SESSION_CONFIG, app))
75
76
const nuxt = new Nuxt(config)
77
nuxt.showOpen = () => {
@@ -137,6 +137,7 @@ async function start () {
137
await compose(api.middleware)(ctx)
138
break
139
140
+ await next()
141
})
142
143
app.listen(port, host)
0 commit comments