From df837b3ff9a292e7b5112ec156fc4a51dcf640ca Mon Sep 17 00:00:00 2001 From: Wira Basalamah Date: Thu, 4 Jun 2026 11:56:14 +0700 Subject: [PATCH] Redirect root to admin portal --- src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index c088363..fc559d8 100644 --- a/src/app.ts +++ b/src/app.ts @@ -82,7 +82,7 @@ const adminWriteLimiter = rateLimit({ }); app.get("/", (_req, res) => { - res.json(successResponse(_req, { status: "ok" })); + res.redirect(302, "/ui/admin-login-portal"); }); app.get("/favicon.ico", (_req, res) => {