Promote dev to UAT: GRO-1566 auth bypass fix #62

Merged
The Dogfather merged 2 commits from dev into uat 2026-05-22 22:39:58 +00:00
+1 -1
View File
@@ -23,7 +23,7 @@ if (process.env.AUTH_DISABLED === "true") {
} }
export const authMiddleware: MiddlewareHandler = async (c, next) => { export const authMiddleware: MiddlewareHandler = async (c, next) => {
if (c.req.path.startsWith("/api/auth/")) { if (c.req.path.startsWith("/api/auth/") || c.req.path === "/api/health") {
await next(); await next();
return; return;
} }