From b870390fe0f75e64d99ac9105608d873cea3e13c Mon Sep 17 00:00:00 2001 From: cha0s Date: Mon, 20 Jul 2020 19:24:06 -0500 Subject: [PATCH] fix: correct content type in dev --- src/server/http.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/http.js b/src/server/http.js index 85f0c7a..59873ef 100644 --- a/src/server/http.js +++ b/src/server/http.js @@ -44,6 +44,7 @@ export async function createHttpServer() { res.end(await hydration(req, buffer)); } else { + res.setHeader('Content-Type', proxyRes.headers['content-type']); res.end(buffer); } });