aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-11 20:08:51 +0900
committernsfisis <nsfisis@gmail.com>2024-08-11 20:08:53 +0900
commit8178c51b249bb01a2232ff2ffa82b2471b50390d (patch)
tree4e41c5139f2ceba8e9978384be6b3bb9157d5171
parent1c532c76f5e3c6c0dcfa38d005b4eff245e9dbc5 (diff)
downloadphperkaigi-2025-albatross-8178c51b249bb01a2232ff2ffa82b2471b50390d.tar.gz
phperkaigi-2025-albatross-8178c51b249bb01a2232ff2ffa82b2471b50390d.tar.zst
phperkaigi-2025-albatross-8178c51b249bb01a2232ff2ffa82b2471b50390d.zip
fix(frontend): fix 404 on 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 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);