aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/routes/dashboard.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/routes/dashboard.tsx')
-rw-r--r--frontend/app/routes/dashboard.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx
index e6a43de..d69018a 100644
--- a/frontend/app/routes/dashboard.tsx
+++ b/frontend/app/routes/dashboard.tsx
@@ -13,8 +13,8 @@ export async function loader({ request }: LoaderFunctionArgs) {
if (user.is_admin) {
return redirect(
process.env.NODE_ENV === "development"
- ? "http://localhost:8002/admin/dashboard"
- : "/admin/dashboard",
+ ? "http://localhost:8002/iosdc-japan/2024/code-battle/admin/dashboard"
+ : "/iosdc-japan/2024/code-battle/admin/dashboard",
);
}
const { games } = await apiGetGames(token);