0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

add content-type to astro html (#85)

This commit is contained in:
Jonathan Neal 2021-04-13 13:01:42 -04:00 committed by GitHub
parent 3639190b4e
commit 740a6b73e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {