jomo 10 년 전
부모
커밋
b40ab60d50
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      routes/index.js

+ 2 - 1
routes/index.js

@@ -11,7 +11,8 @@ module.exports = function(req, res) {
     config: config
   });
   res.writeHead(200, {
-    "Content-Length": html.length
+    "Content-Length": html.length,
+     "Content-Type": "text/html; charset=utf-8"
   });
   res.end(html);
 };