mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-21 14:08:53 -04:00
working
This commit is contained in:
parent
201a25c659
commit
59be9bb971
4 changed files with 186 additions and 23 deletions
|
@ -183,7 +183,8 @@ try {
|
|||
|
||||
if (request.hostname in StatusPage.domainMappingList) {
|
||||
debug("This is a status page domain");
|
||||
response.send(indexHTML);
|
||||
// TODO
|
||||
response.send(StatusPage.renderHTML(indexHTML));
|
||||
} else if (exports.entryPage && exports.entryPage.startsWith("statusPage-")) {
|
||||
response.redirect("/status/" + exports.entryPage.replace("statusPage-", ""));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue