Server correctly sends text/html MIME type and response code 200 for the root index.
This commit is contained in:
parent
b32520b1f9
commit
1076ee4e06
|
@ -47,6 +47,8 @@ function index(req, res, next) {
|
|||
require("../package.json"),
|
||||
config
|
||||
);
|
||||
res.setHeader("Content-Type", "text/html");
|
||||
res.writeHead(200);
|
||||
res.end(_.template(
|
||||
file,
|
||||
data
|
||||
|
|
Loading…
Reference in New Issue