From 2d576a2f39986e446ae6fc9993e28ad2bb71128d Mon Sep 17 00:00:00 2001 From: Flavio Fois Date: Mon, 16 Feb 2026 22:49:05 +0100 Subject: [PATCH] Add root endpoint to return API status --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index cddf314..569076d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,6 +34,7 @@ const app = new Elysia() return { success: false, message: "Internal server error" }; }) .get("/health", () => ({ status: "ok", timestamp: new Date().toISOString() })) + .get("/", () => ({ status: "ok", message: "API is running" })) .use(bugReportRoutes) .use(adminRoutes) .listen({