We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<!--ssr-outlet-->
1 parent 4576b7c commit ebb040fCopy full SHA for ebb040f
src/build/vite/prod.ts
@@ -64,7 +64,7 @@ export async function buildEnvironments(
64
const html = await readFile(outputPath, "utf8").then((r) =>
65
r.replace(
66
"<!--ssr-outlet-->",
67
- `{{{ fetch($REQUEST, { viteEnv: "ssr" }) }}}`
+ `{{{ globalThis.__nitro_vite_envs__?.["ssr"]?.fetch($REQUEST) || "" }}}`
68
)
69
);
70
await rm(outputPath);
0 commit comments