mirror of
https://github.com/thelounge/thelounge
synced 2025-02-16 21:28:23 +00:00
Server correctly sends text/html MIME type and response code 200 for the root index.
This commit is contained in:
parent
b32520b1f9
commit
1076ee4e06
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue