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:
parent
3639190b4e
commit
740a6b73e0
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue