2
0
jomo 10 жил өмнө
parent
commit
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);
 };