From 6b8cb97d54985b7622c8250d0a7287ce37d4f43d Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 25 Jun 2023 17:38:51 +0100 Subject: [PATCH] fix(nuxt): remove `path` from SPA payload (#21732) --- packages/nuxt/src/core/runtime/nitro/renderer.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/nuxt/src/core/runtime/nitro/renderer.ts b/packages/nuxt/src/core/runtime/nitro/renderer.ts index 5e694af843..60cffdf21d 100644 --- a/packages/nuxt/src/core/runtime/nitro/renderer.ts +++ b/packages/nuxt/src/core/runtime/nitro/renderer.ts @@ -127,7 +127,6 @@ const getSPARenderer = lazyCachedFunction(async () => { const renderToString = (ssrContext: NuxtSSRContext) => { const config = useRuntimeConfig() ssrContext!.payload = { - path: ssrContext.url, _errors: {}, serverRendered: false, data: {},