fix: remove edge config from next-auth route
This commit is contained in:
@@ -48,9 +48,5 @@
|
|||||||
},
|
},
|
||||||
"ct3aMetadata": {
|
"ct3aMetadata": {
|
||||||
"initVersion": "7.22.0"
|
"initVersion": "7.22.0"
|
||||||
},
|
|
||||||
"browser": {
|
|
||||||
"crypto": false,
|
|
||||||
"stream": false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ import { authOptions } from "~/server/auth";
|
|||||||
const handler = NextAuth(authOptions);
|
const handler = NextAuth(authOptions);
|
||||||
export { handler as GET, handler as POST };
|
export { handler as GET, handler as POST };
|
||||||
|
|
||||||
export const runtime = "edge";
|
// export const runtime = "edge";
|
||||||
export const preferredRegion = 'lhr1';
|
// export const preferredRegion = 'lhr1';
|
||||||
export const dynamic = 'force-dynamic'
|
// export const dynamic = 'force-dynamic'
|
||||||
|
|||||||
Reference in New Issue
Block a user