import { getServerSession } from "next-auth"; import { Chat } from "./chat"; import { Sidebar } from "./sidebar"; import { authOptions } from "@/app/api/auth/[...nextauth]/route"; // Prisma does not support Edge without the Data Proxy currently export const runtime = "nodejs"; // default export const preferredRegion = "home"; export const dynamic = "force-dynamic"; export default async function IndexPage() { const session = await getServerSession(authOptions); return (
); }