From 63ab1a76852b5b742d87ed10c5ac6e74b48b3988 Mon Sep 17 00:00:00 2001 From: nai-degen Date: Mon, 20 May 2024 07:47:46 -0500 Subject: [PATCH] reverts debug change that broke info page --- src/info-page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/info-page.ts b/src/info-page.ts index 711ccd5..46cc9f3 100644 --- a/src/info-page.ts +++ b/src/info-page.ts @@ -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)); });