fix(GRO-1544): register health endpoint at /api/health not /health #52

Merged
The Dogfather merged 2 commits from fix/gro-1544-api-health-endpoint into dev 2026-05-22 21:49:56 +00:00
Showing only changes of commit 55894c6ff2 - Show all commits
+2 -2
View File
@@ -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);