Include missing doctype (lighthouse feedback)
This commit is contained in:
parent
26036ad92c
commit
e73c25e3e3
|
@ -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);
|
||||
}
|
||||
|
|
Reference in New Issue