This commit is contained in:
2026-09-19 22:19:35 +02:00
commit 231b3e006a
124 changed files with 13816 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
'use client';
import { redirect } from 'next/navigation';
import { useEffect, useState } from 'react';
import { api } from '@/lib/api/client';
export default function Home() {
useEffect(() => {
const cookie = document.cookie
.split('; ')
.find((row) => row.startsWith('access_token='));
if (cookie) {
redirect('/dashboard');
} else {
redirect('/login');
}
}, []);
return null;
}