fix: render document with standards mode

pull/207/head
Wizard67 5 years ago
parent 187815cc9a
commit 0354c1e0db

@ -78,7 +78,8 @@ export function createVitePressPlugin(
if (req.url!.endsWith('.html')) {
res.statusCode = 200
res.end(
`<div id="app"></div>\n` +
`<!DOCTYPE html>\n` +
`<div id="app"></div>\n` +
`<script type="module" src="/@fs/${APP_PATH}/index.js"></script>`
)
return

Loading…
Cancel
Save