fix: render document with standards mode

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

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

Loading…
Cancel
Save