aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--frontend/app/routes/dashboard.tsx2
1 files changed, 1 insertions, 1 deletions
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);