Skip to content

Commit

Permalink
add trust host to true
Browse files Browse the repository at this point in the history
  • Loading branch information
mnsrulz committed Apr 13, 2024
1 parent 597c26c commit 2e1f7ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const authOptions = {
// pages: {
// //signIn: '/login'
// },
trustHost: true,
callbacks: {
authorized({ auth, request }) {
const isLoggedIn = isAuthenticated(request) || !!auth?.user;
Expand Down

0 comments on commit 2e1f7ef

Please sign in to comment.