mirror of
https://github.com/c8r/x0.git
synced 2024-09-19 09:38:31 +03:00
Specify utf-8 encoding
Without declaring utf-8, bundles using utf-8 characters are unable to be parsed.
This commit is contained in:
parent
80accfc84d
commit
42450b6a24
@ -20,6 +20,7 @@ const createHTML = ({
|
||||
initialProps,
|
||||
scripts = []
|
||||
}) => (`<!DOCTYPE html>
|
||||
<head><meta charset='utf-8'></head>
|
||||
<div id='__APP__'>
|
||||
${body}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user