diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-11 20:08:51 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-11 20:08:53 +0900 |
| commit | 8178c51b249bb01a2232ff2ffa82b2471b50390d (patch) | |
| tree | 4e41c5139f2ceba8e9978384be6b3bb9157d5171 /frontend/app/routes/dashboard.tsx | |
| parent | 1c532c76f5e3c6c0dcfa38d005b4eff245e9dbc5 (diff) | |
| download | phperkaigi-2025-albatross-8178c51b249bb01a2232ff2ffa82b2471b50390d.tar.gz phperkaigi-2025-albatross-8178c51b249bb01a2232ff2ffa82b2471b50390d.tar.zst phperkaigi-2025-albatross-8178c51b249bb01a2232ff2ffa82b2471b50390d.zip | |
fix(frontend): fix 404 on admin dashboard
Diffstat (limited to 'frontend/app/routes/dashboard.tsx')
| -rw-r--r-- | frontend/app/routes/dashboard.tsx | 2 |
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); |
