mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
context => appContext
This commit is contained in:
parent
780013e590
commit
aefa9f8c31
@ -154,9 +154,9 @@ export function middlewareSeries(promises, appContext) {
|
||||
if (!promises.length || appContext._redirected || appContext.app.nuxt.err) {
|
||||
return Promise.resolve()
|
||||
}
|
||||
return promisify(promises[0], context)
|
||||
return promisify(promises[0], appContext)
|
||||
.then(() => {
|
||||
return middlewareSeries(promises.slice(1), context)
|
||||
return middlewareSeries(promises.slice(1), appContext)
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user