Merge pull request 'Promote dev to UAT: GRO-1566 auth bypass fix' (#62) from dev into uat

This commit was merged in pull request #62.
This commit is contained in:
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) => {
if (c.req.path.startsWith("/api/auth/")) {
if (c.req.path.startsWith("/api/auth/") || c.req.path === "/api/health") {
await next();
return;
}