fix: trustHost true for nextauth behind reverse proxy
This commit is contained in:
parent
913c8a6aaf
commit
e1433d3bb7
|
|
@ -4,6 +4,7 @@ import Resend from "next-auth/providers/resend";
|
|||
import { db } from "@/lib/db";
|
||||
|
||||
export const { handlers, auth, signIn, signOut } = NextAuth({
|
||||
trustHost: true,
|
||||
adapter: PrismaAdapter(db),
|
||||
providers: [
|
||||
Resend({
|
||||
|
|
|
|||
Loading…
Reference in New Issue