Skip to content
Discussion options

You must be logged in to vote

This is how the baseUrl is gets his value. What you have there is the VERCEL_URL

const { basePath, baseUrl } = parseUrl(process.env.NEXTAUTH_URL || process.env.VERCEL_URL)

Make sure you use that env variable on the production build

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@OlegPuzankin
Comment options

Comment options

You must be logged in to vote
4 replies
@OlegPuzankin
Comment options

@OlegPuzankin
Comment options

@StefanSelfTaught
Comment options

@OlegPuzankin
Comment options

Answer selected by StefanSelfTaught
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants