Make private

This commit is contained in:
Owen
2025-11-13 17:45:13 -05:00
committed by Owen Schwartz
parent d3c4688c0f
commit 19f8cda3d9
8 changed files with 1450 additions and 35 deletions

View File

@@ -48,7 +48,6 @@ import createHttpError from "http-errors";
import { build } from "@server/build";
import { createStore } from "#dynamic/lib/rateLimitStore";
import { logActionAudit } from "#dynamic/middlewares";
import { log } from "console";
// Root routes
export const unauthenticated = Router();
@@ -57,8 +56,6 @@ 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);