summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jonathan Neal <jonathantneal@hotmail.com> 2021-04-13 13:01:42 -0400
committerGravatar GitHub <noreply@github.com> 2021-04-13 13:01:42 -0400
commit740a6b73e032bd5937fe08e619f1b6abd811b53c (patch)
treeb4b2172482f92254e55d8aa7d9dafe0bee01ff50 /src
parent3639190b4e1b4c97836d448fa80a58aa45c823a7 (diff)
downloadastro-740a6b73e032bd5937fe08e619f1b6abd811b53c.tar.gz
astro-740a6b73e032bd5937fe08e619f1b6abd811b53c.tar.zst
astro-740a6b73e032bd5937fe08e619f1b6abd811b53c.zip
add content-type to astro html (#85)
Diffstat (limited to 'src')
-rw-r--r--src/runtime.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime.ts b/src/runtime.ts
index 4614cb306..eb097c523 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) {