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"));