diff --git a/src/pages/index.tsx b/src/pages/index.tsx index a22f7a9..ca392e9 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -52,12 +52,12 @@ const Home: NextPage = () => { setLoaded(true); }, []); - const router = useRouter(); + /*const router = useRouter(); useEffect(() => { if (window.location.protocol === 'https:') { window.location.href = `http://${window.location.host}${router.asPath}`; } - }, []); + }, []);*/ if (!loaded) return;