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