Skip to content

Vercel domain #5909

Answered by dosubot bot
0xSMW asked this question in Self-Hosting
Dec 7, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hey @0xSMW! I'm a bot designed to help you solve bugs, answer questions, and become a contributor. I'm here to assist you with the issue you've encountered. Let's tackle this together!

To ensure your application uses the project or environment-defined URL instead of the Vercel deploy URL, you should set the NEXT_PUBLIC_WEBAPP_URL environment variable to your desired project URL. This variable is used to determine the base URL for the application. If it's not set, the application defaults to using the VERCEL_URL environment variable, which is automatically set by Vercel to the deploy URL [1].

Additionally, make sure that the NEXTAUTH_URL is set correctly for OAuth handoff. If NEXTAUTH_URL

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@keithwillcode
Comment options

@dosubot
Comment options

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