Include missing doctype (lighthouse feedback)

This commit is contained in:
Tom Moor 2018-11-15 00:16:15 -08:00
parent 26036ad92c
commit e73c25e3e3
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ export default function renderpage(ctx: Object, children: React.Node) {
// $FlowFixMe
Object.keys(helmet).forEach(key => (head += helmet[key].toString()));
ctx.body = html
ctx.body = `<!DOCTYPE html>\n${html}`
.replace('{{CSS}}', sheet.getStyleTags())
.replace('{{HEAD}}', head);
}