fix(auth): add /api/readyz to auth bypass list (GRO-2692) #238

Merged
Flea Flicker merged 1 commits from fix/gro-2692-readyz-auth-bypass into dev 2026-08-09 10:15:47 +00:00
+1 -1
View File
@@ -23,7 +23,7 @@ if (process.env.AUTH_DISABLED === "true") {
}
export const authMiddleware: MiddlewareHandler = async (c, next) => {
if (c.req.path.startsWith("/api/auth/") || c.req.path === "/api/health") {
if (c.req.path.startsWith("/api/auth/") || c.req.path === "/api/health" || c.req.path === "/api/readyz") {
await next();
return;
}