diff --git a/src/pages/Setup.tsx b/src/pages/Setup.tsx index e90a459..83ef273 100644 --- a/src/pages/Setup.tsx +++ b/src/pages/Setup.tsx @@ -108,7 +108,7 @@ export default () => { } onMount(() => { - let search = location.search + let search = location.search || window.location.search if (search) { const searchList = location.hash.match(/\?.*$/)