Skip to content

Commit 277f2bb

Browse files
authored
Merge branch 'main' into better-vscode-settings
2 parents e5fdb8c + 9201e71 commit 277f2bb

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.changeset/fifty-flies-yell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@solidjs/start": minor
3+
---
4+
5+
fix text/html missing when ssr is false

packages/start/src/server/handler.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ export function createBaseHandler(
7979
return redirect(context.response.headers.get("Location")!, status);
8080
}
8181

82+
event.response.headers.set("content-type", "text/html");
83+
8284
return html;
8385
}
8486

0 commit comments

Comments
 (0)