reverts debug change that broke info page
This commit is contained in:
parent
a3462e21bc
commit
63ab1a7685
|
@ -266,7 +266,7 @@ if (config.serviceInfoPassword?.length) {
|
|||
});
|
||||
infoPageRouter.use(checkIfUnlocked);
|
||||
}
|
||||
infoPageRouter.get("/", (req, res) => res.sendStatus(204));
|
||||
infoPageRouter.get("/", handleInfoPage);
|
||||
infoPageRouter.get("/status", (req, res) => {
|
||||
res.json(buildInfo(req.protocol + "://" + req.get("host"), false));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue