From 740a6b73e032bd5937fe08e619f1b6abd811b53c Mon Sep 17 00:00:00 2001 From: Jonathan Neal Date: Tue, 13 Apr 2021 13:01:42 -0400 Subject: [PATCH] add content-type to astro html (#85) --- src/runtime.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime.ts b/src/runtime.ts index 4614cb3062..eb097c523f 100644 --- a/src/runtime.ts +++ b/src/runtime.ts @@ -173,6 +173,7 @@ async function load(config: RuntimeConfig, rawPathname: string | undefined): Pro return { statusCode: 200, + contentType: 'text/html; charset=utf-8', contents: html, }; } catch (err) {