From 01fafac46390e540f4d8766d53177a69da7e64ae Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sat, 10 Aug 2024 00:39:16 +0900
Subject: fix(frontend): fix base path of admin dashboard

---
 frontend/app/routes/dashboard.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'frontend/app/routes/dashboard.tsx')

diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx
index d69018a..37dafff 100644
--- a/frontend/app/routes/dashboard.tsx
+++ b/frontend/app/routes/dashboard.tsx
@@ -14,7 +14,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
 		return redirect(
 			process.env.NODE_ENV === "development"
 				? "http://localhost:8002/iosdc-japan/2024/code-battle/admin/dashboard"
-				: "/iosdc-japan/2024/code-battle/admin/dashboard",
+				: "/admin/dashboard",
 		);
 	}
 	const { games } = await apiGetGames(token);
-- 
cgit v1.2.3-70-g09d2

