From f5b0d5a555590fa9dbed5405e41a45e2cbcfad26 Mon Sep 17 00:00:00 2001 From: ramvignesh-b Date: Mon, 11 May 2026 13:42:22 +0530 Subject: [PATCH] feat: add root redirect to /app endpoint --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index c2a3d82..13b6a6d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -12,6 +12,8 @@ const app = new Hono({ strict: false }); app.use("*", logger()); app.use("*", prettyJSON()); +app.get("/", (c) => c.redirect("/app")); + app.route("/auth", authRoutes); app.route("/api/config", configRoutes); app.route("/api", apiRoutes);