1 parent 3228646 commit dc146e2Copy full SHA for dc146e2
2 files changed
app/api/auth/[...nextauth]/route.ts
@@ -1,3 +1,3 @@
1
-export const runtime = "edge"
+export const runtime = "nodejs"
2
3
export { GET, POST } from "@/auth"
auth.ts
@@ -41,6 +41,8 @@ export const {
41
signIn,
42
signOut,
43
} = NextAuth({
44
+ secret: process.env.AUTH_SECRET,
45
+ trustHost: true,
46
providers: [
47
Credentials({
48
name: "Ethereum",
0 commit comments