Try drizzle

This commit is contained in:
Jared Palmer 2023-06-02 11:57:44 -04:00
parent 17bfd0cac1
commit c332a1b6f1
10 changed files with 107 additions and 47 deletions

View file

@ -2,10 +2,8 @@ import { Chat } from "./chat";
import { Sidebar } from "./sidebar";
import { auth } from "@/auth";
// Prisma does not support Edge without the Data Proxy currently
export const runtime = "nodejs"; // default
export const runtime = "edge"; // default
export const preferredRegion = "home";
export const dynamic = "force-dynamic";
export default async function IndexPage() {
const session = await auth();