Spaces:
Sleeping
Sleeping
import { auth } from '@/auth'; | |
import { redirect } from 'next/navigation'; | |
export default async function Page() { | |
const session = await auth(); | |
if (!session) { | |
return null; | |
} | |
redirect('/chat'); | |
// return ( | |
// <div className="flex flex-col h-[calc(100vh-theme(spacing.16))] items-center justify-center py-10 space-y-2"> | |
// Welcome to Insight Playground | |
// </div> | |
// ); | |
} | |