From 94be30d12879c9ecef3422eadeb7dca70020b4b7 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Mon, 21 Oct 2024 02:29:09 +0800 Subject: [PATCH] fix: edge --- app/api/auth/[...nextauth]/route.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts index 87f6488..bac97a2 100644 --- a/app/api/auth/[...nextauth]/route.ts +++ b/app/api/auth/[...nextauth]/route.ts @@ -1,4 +1,6 @@ import { handlers } from "@/auth"; +export const runtime = "edge"; + // Referring to the auth.ts we just created export const { GET, POST } = handlers;