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"),
|
require("../package.json"),
|
||||||
config
|
config
|
||||||
);
|
);
|
||||||
|
res.setHeader("Content-Type", "text/html");
|
||||||
|
res.writeHead(200);
|
||||||
res.end(_.template(
|
res.end(_.template(
|
||||||
file,
|
file,
|
||||||
data
|
data
|
||||||
|
Loading…
Reference in New Issue
Block a user