mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-21 16:55:57 +00:00
fix(nuxt): update path to no-ssr
middleware handler
This commit is contained in:
parent
151cf7d490
commit
a99c59fbd4
@ -400,7 +400,7 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) {
|
|||||||
if (nuxt.options.experimental.respectNoSSRHeader) {
|
if (nuxt.options.experimental.respectNoSSRHeader) {
|
||||||
nitroConfig.handlers ||= []
|
nitroConfig.handlers ||= []
|
||||||
nitroConfig.handlers.push({
|
nitroConfig.handlers.push({
|
||||||
handler: resolve(distDir, 'core/runtime/nitro/no-ssr'),
|
handler: resolve(distDir, 'core/runtime/nitro/middleware/no-ssr'),
|
||||||
middleware: true,
|
middleware: true,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user