fix: correct content type in dev
This commit is contained in:
parent
78ff134e42
commit
b870390fe0
|
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user