diff --git a/src/index.ts b/src/index.ts index 6acee60..9ae50b8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -58,8 +58,8 @@ app.use( }) ); -// Health check (no auth required) -app.get("/health", (c) => c.json({ status: "ok" })); +// Health check — no auth required, registered on app at full path before auth middleware +app.get("/api/health", (c) => c.json({ status: "ok" })); // Public booking routes — no auth required, must be registered before auth middleware app.route("/api/book", bookRouter);