fix: Add root page.tsx to fix 404 on /

- Create app/page.tsx that redirects to /login
- Fixes 404 error when accessing root URL
This commit is contained in:
2026-04-15 14:46:48 -04:00
parent 65636f5133
commit 7c5da339cb
+14
View File
@@ -0,0 +1,14 @@
'use client';
import { useEffect } from 'react';
import { useRouter } from 'next/navigation';
export default function HomePage() {
const router = useRouter();
useEffect(() => {
router.push('/login');
}, [router]);
return null;
}