fix(nuxt): remove path from SPA payload (#21732)

This commit is contained in:
Daniel Roe 2023-06-25 17:38:51 +01:00 committed by GitHub
parent 068ab19aab
commit 6b8cb97d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,6 @@ const getSPARenderer = lazyCachedFunction(async () => {
const renderToString = (ssrContext: NuxtSSRContext) => {
const config = useRuntimeConfig()
ssrContext!.payload = {
path: ssrContext.url,
_errors: {},
serverRendered: false,
data: {},