add backend API maintenance screen

This commit is contained in:
Owen
2025-12-20 15:42:33 -05:00
committed by Owen Schwartz
parent 8af95ea1ca
commit b8ffc601d4
4 changed files with 145 additions and 32 deletions

View File

@@ -57,6 +57,8 @@ unauthenticated.get("/", (_, res) => {
res.status(HttpCode.OK).json({ message: "Healthy" });
});
unauthenticated.get("/maintenance/info", resource.getMaintenanceInfo);
// Authenticated Root routes
export const authenticated = Router();
authenticated.use(verifySessionUserMiddleware);