Skip to content

Commit

Permalink
Fix preview sign-in
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpalmer committed Jun 22, 2023
1 parent ee2113d commit 5912336
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,11 @@ export const {
},
trustHost: true
},
...(process.env.VERCEL_ENV === 'preview' ||
process.env.NODE_ENV === 'development'
? {
...(process.env.VERCEL_ENV === 'preview'
? {}
: {
pages: {
signIn: '/sign-in'
}
}
: {})
})
})

1 comment on commit 5912336

@vercel
Copy link

@vercel vercel bot commented on 5912336 Jun 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ai-chatbot – ./

ai-chatbot-git-main.vercel.sh
ai-chatbot.vercel.sh

Please sign in to comment.