Switch to edge
This commit is contained in:
parent
1343d16c1a
commit
0846554fa2
1 changed files with 2 additions and 3 deletions
|
|
@ -23,10 +23,9 @@ export async function generateMetadata({
|
|||
};
|
||||
}
|
||||
|
||||
// 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 ChatPage({ params }: ChatPageProps) {
|
||||
const session = await auth();
|
||||
const chat = await db.query.chats.findFirst({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue