From a99c59fbd44c74c6e28b85c8396083f2500580c1 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 28 Feb 2025 19:54:12 +0000 Subject: [PATCH] fix(nuxt): update path to `no-ssr` middleware handler --- packages/nuxt/src/core/nitro.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxt/src/core/nitro.ts b/packages/nuxt/src/core/nitro.ts index 608bd27cb6..05e23b8162 100644 --- a/packages/nuxt/src/core/nitro.ts +++ b/packages/nuxt/src/core/nitro.ts @@ -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, }) }