We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f4c411 commit f594c2fCopy full SHA for f594c2f
1 file changed
packages/start/src/server/handler.ts
@@ -153,7 +153,7 @@ export async function createPageEvent(ctx: FetchEvent) {
153
ctx.response.headers.set("Content-Type", "text/html");
154
// const prevPath = ctx.request.headers.get("x-solid-referrer");
155
// const mutation = ctx.request.headers.get("x-solid-mutation") === "true";
156
- const manifest = getSsrManifest("ssr");
+ const manifest = getSsrManifest(import.meta.env.SSR && import.meta.env.DEV ? "ssr": "client");
157
const assets = [
158
...(await manifest.getAssets(import.meta.env.START_CLIENT_ENTRY)),
159
...(await manifest.getAssets(import.meta.env.START_APP_ENTRY)),
0 commit comments