fix: add /health endpoint for k8s probes
Some checks failed
Build & Release / build (push) Failing after 6s

This commit is contained in:
Ryan Moon
2026-04-03 06:52:13 -05:00
parent 6e68cb83c0
commit 8dbfb5810f

View File

@@ -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) => {