fix: correct content type in dev

This commit is contained in:
cha0s 2020-07-20 19:24:06 -05:00
parent 78ff134e42
commit b870390fe0

View File

@ -44,6 +44,7 @@ export async function createHttpServer() {
res.end(await hydration(req, buffer)); res.end(await hydration(req, buffer));
} }
else { else {
res.setHeader('Content-Type', proxyRes.headers['content-type']);
res.end(buffer); res.end(buffer);
} }
}); });