diff --git a/src/index.ts b/src/index.ts index 9ae50b8..2abf712 100644 --- a/src/index.ts +++ b/src/index.ts @@ -59,6 +59,9 @@ app.use( ); // Health check — no auth required, registered on app at full path before auth middleware +// /health: used by Dockerfile HEALTHCHECK and K8s readinessProbe/livenessProbe (port 3000 direct) +app.get("/health", (c) => c.json({ status: "ok" })); +// /api/health: used by Gateway HTTPRoute (/api/* → API pod) app.get("/api/health", (c) => c.json({ status: "ok" })); // Public booking routes — no auth required, must be registered before auth middleware