From dae5db2524fda2ae75647b070885450807347193 Mon Sep 17 00:00:00 2001 From: Julien Herr Date: Fri, 22 May 2026 07:39:24 +0200 Subject: [PATCH] feat: add GET /health endpoint --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 0993e2b..cd384e4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -151,6 +151,9 @@ app.route("/files", files); app.route("/admin", admin); app.route("/hub", hubRouter); +// Health check endpoint for monitoring +app.get("/health", (c) => c.json({ status: "ok", timestamp: Date.now() })); + // Root path redirects to admin dashboard app.get("/", (c) => c.redirect("/admin"));