Skip to content

Commit

Permalink
Use /sign-in during development too
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpalmer committed Jun 22, 2023
1 parent 7c5c23d commit ee2113d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export const {
},
trustHost: true
},
...(process.env.VERCEL_ENV === 'preview'
...(process.env.VERCEL_ENV === 'preview' ||
process.env.NODE_ENV === 'development'
? {
pages: {
signIn: '/sign-in'
Expand Down

0 comments on commit ee2113d

Please sign in to comment.