diff --git a/src/middleware/status.js b/src/middleware/status.js index 0e4c5ff..d275e0f 100644 --- a/src/middleware/status.js +++ b/src/middleware/status.js @@ -82,7 +82,12 @@ module.exports = (req, res, logFacilities, config, next) => { }); res.end( (res.head == "" - ? "SVR.JS status" + + ? "<!DOCTYPE html><html><head><title>" + + name + .replace(/&/g, "&") + .replace(/</g, "<") + .replace(/>/g, ">") + + " status" + (req.headers.host == undefined ? "" : " for " +