reverts debug change that broke info page

This commit is contained in:
nai-degen
2024-05-20 07:47:46 -05:00
parent a3462e21bc
commit 63ab1a7685
+1 -1
View File
@@ -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));
}); });