Skip to content

Commit 6b0a750

Browse files
committed
Give chrome warning handling the right content-type
This doesn't directly affect chrome's behaviour, but it ensures that the HTK editor gives nice highlighting automatically.
1 parent 746c4a2 commit 6b0a750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hide-chrome-warning-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class HideChromeWarningServer {
4646
<a href="${targetUrl}">this link</a>
4747
</body>
4848
</html>
49-
`);
49+
`, { "content-type": "text/html" });
5050
}
5151

5252
get host(): string {

0 commit comments

Comments
 (0)