From 291b9c9b9b6ef88ff3cafd99c648511f722e6221 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Mon, 21 Oct 2024 00:29:29 +0800 Subject: [PATCH] fix: edge --- app/api/auth/[...nextauth]/route.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts index 0cf1408..a7c7f65 100644 --- a/app/api/auth/[...nextauth]/route.ts +++ b/app/api/auth/[...nextauth]/route.ts @@ -1,2 +1,5 @@ import { handlers } from "@/auth" // Referring to the auth.ts we just created + +export const runtime = 'edge'; + export const { GET, POST } = handlers \ No newline at end of file