fix: remove edge config from next-auth route

This commit is contained in:
Henry
2023-10-27 22:17:55 +01:00
parent d5aef06ffd
commit fee58a9bd0
2 changed files with 3 additions and 7 deletions

View File

@@ -6,6 +6,6 @@ import { authOptions } from "~/server/auth";
const handler = NextAuth(authOptions);
export { handler as GET, handler as POST };
export const runtime = "edge";
export const preferredRegion = 'lhr1';
export const dynamic = 'force-dynamic'
// export const runtime = "edge";
// export const preferredRegion = 'lhr1';
// export const dynamic = 'force-dynamic'