fix untrustedHost authjs issue

https://authjs.dev/reference/core/errors#untrustedhost
This commit is contained in:
2025-08-16 19:39:46 -04:00
parent b17ed18d46
commit 1fe3ef0ee1

View File

@@ -38,6 +38,7 @@ const config = {
signIn: "/signin",
signOut: "/signout",
},
trustHost: true,
// callbacks: {
// authorized({ auth, request: { nextUrl } }) {
// const isLoggedIn = !!auth?.user;