From 2553e45016ce56d2f4129748d104dafb25e918b4 Mon Sep 17 00:00:00 2001 From: Stephen Gordon Date: Mon, 12 Feb 2024 12:33:11 +0000 Subject: [PATCH] changed start url --- public/manifest.json | 2 +- src/app/page.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/manifest.json b/public/manifest.json index 6fd354d..99281d6 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -6,7 +6,7 @@ "display": "standalone", "orientation": "portrait", "scope": "/", - "start_url": "/", + "start_url": "/login", "icons": [ { "src": "icons/icon-144x144.png", diff --git a/src/app/page.tsx b/src/app/page.tsx index a2f3e45..9f24f8f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -28,10 +28,10 @@ import { useRouter } from 'next/navigation'; export default function HomePage() { const router = useRouter(); - useEffect(() => { + /* useEffect(() => { router.push('/login'); }, []); - + */ return (