mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-19 07:51:18 +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) {
|
||||
nitroConfig.handlers ||= []
|
||||
nitroConfig.handlers.push({
|
||||
handler: resolve(distDir, 'core/runtime/nitro/no-ssr'),
|
||||
handler: resolve(distDir, 'core/runtime/nitro/middleware/no-ssr'),
|
||||
middleware: true,
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user