From 8dbfb5810fc7a3e24762885622486b15783276c4 Mon Sep 17 00:00:00 2001 From: Ryan Moon Date: Fri, 3 Apr 2026 06:52:13 -0500 Subject: [PATCH] fix: add /health endpoint for k8s probes --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index fc7628a..cdad67d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,6 +10,8 @@ app.register(staticFiles, { prefix: "/", }); +app.get("/health", async () => ({ status: "ok" })); + app.register(customerRoutes, { prefix: "/api" }); app.listen({ port: Number(process.env.PORT ?? 3000), host: "0.0.0.0" }, (err) => {