8000 fix(nuxt): update path to `no-ssr` middleware handler · nuxt/nuxt@a99c59f · GitHub
[go: up one dir, main page]

Skip to content

Commit a99c59f

Browse files
committed
fix(nuxt): update path to no-ssr middleware handler
1 parent 151cf7d commit a99c59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/src/core/nitro.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) {
400400
if (nuxt.options.experimental.respectNoSSRHeader) {
401401
nitroConfig.handlers ||= []
402402
nitroConfig.handlers.push({
403-
handler: resolve(distDir, 'core/runtime/nitro/no-ssr'),
403+
handler: resolve(distDir, 'core/runtime/nitro/middleware/no-ssr'),
404404
middleware: true,
405405
})
406406
}

0 commit comments

Comments
 (0)
0