aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-10 00:39:16 +0900
committernsfisis <nsfisis@gmail.com>2024-08-10 00:39:16 +0900
commit01fafac46390e540f4d8766d53177a69da7e64ae (patch)
tree70d02b1ff3f2a77b4885048d987190a758bf9119
parent60eebde81e8888ac2a9dc5b6c54b2402c6f0a646 (diff)
downloadiosdc-japan-2024-albatross-01fafac46390e540f4d8766d53177a69da7e64ae.tar.gz
iosdc-japan-2024-albatross-01fafac46390e540f4d8766d53177a69da7e64ae.tar.zst
iosdc-japan-2024-albatross-01fafac46390e540f4d8766d53177a69da7e64ae.zip
fix(frontend): fix base path of admin dashboard
-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);