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