fix untrustedHost authjs issue
https://authjs.dev/reference/core/errors#untrustedhost
This commit is contained in:
@@ -38,6 +38,7 @@ const config = {
|
||||
signIn: "/signin",
|
||||
signOut: "/signout",
|
||||
},
|
||||
trustHost: true,
|
||||
// callbacks: {
|
||||
// authorized({ auth, request: { nextUrl } }) {
|
||||
// const isLoggedIn = !!auth?.user;
|
||||
|
||||
Reference in New Issue
Block a user