This commit is contained in:
Mishig Davaadorj
2025-06-09 14:54:53 +02:00
parent 02c76e3ec5
commit 3e587b42d0

View File

@@ -14,7 +14,7 @@ export default function Home({
redirect(searchParams.path);
}
// leagcy sync with hf.co/spaces URL params
// legacy sync with hf.co/spaces URL params
let redirectUrl: string | null = null;
if (searchParams?.dataset && searchParams?.episode) {
redirectUrl = `/${searchParams.dataset}/episode_${searchParams.episode}`;