diff --git a/src/backend/middleware/auth.ts b/src/backend/middleware/auth.ts index 89bcada..2f3734a 100644 --- a/src/backend/middleware/auth.ts +++ b/src/backend/middleware/auth.ts @@ -11,6 +11,11 @@ export const apiKeyAuth = ( res: Response, next: NextFunction ): void => { + if (req.path === '/health') { + next(); + return; + } + const apiKey = req.header('X-API-Key') || (req.query.apikey as string); if (!apiKey) {