From 8178c51b249bb01a2232ff2ffa82b2471b50390d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 11 Aug 2024 20:08:51 +0900 Subject: fix(frontend): fix 404 on 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 6b242c4..ec01a1c 100644 --- a/frontend/app/routes/dashboard.tsx +++ b/frontend/app/routes/dashboard.tsx @@ -16,7 +16,7 @@ export async function loader({ request }: LoaderFunctionArgs) { return redirect( process.env.NODE_ENV === "development" ? "http://localhost:8002/iosdc-japan/2024/code-battle/admin/dashboard" - : "/admin/dashboard", + : "https://t.nil.ninja/iosdc-japan/2024/code-battle/admin/dashboard", ); } const { games } = await apiGetGames(token); -- cgit v1.2.3-70-g09d2