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
     config: config
   });
   });
   res.writeHead(200, {
   res.writeHead(200, {
-    "Content-Length": html.length
+    "Content-Length": html.length,
+     "Content-Type": "text/html; charset=utf-8"
   });
   });
   res.end(html);
   res.end(html);
 };
 };