File size: 399 Bytes
c3e8f3d
 
60612a5
c3e8f3d
f80b091
 
 
 
c3e8f3d
f80b091
c3e8f3d
f80b091
 
 
 
 
3c3ac54
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>
  // );
}