diff --git a/src/middleware/auth.ts b/src/middleware/auth.ts index 906f505..830350f 100644 --- a/src/middleware/auth.ts +++ b/src/middleware/auth.ts @@ -23,7 +23,7 @@ if (process.env.AUTH_DISABLED === "true") { } 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(); return; }