mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-25 06:16:40 +00:00
add backend API maintenance screen
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user