This repository was archived by the owner on Dec 20, 2024. It is now read-only.
Replies: 2 comments
-
Hi @trompx! Could you use another environment variable, perhaps? For example, |
Beta Was this translation helpful? Give feedback.
0 replies
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I was using NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL to set a global url usable across my website.
The problem is I just added a production domain, so now I have 2 productions urls:
But now, when I visit the website with the myproject.vercel.app, which gets its global url from NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL, it is set to mydomain.com as it is the shortest production url. So all my links are broken.
Can you please make the vercel.app url accessible under another env var, like a default one: NEXT_PUBLIC_VERCEL_DEFAULT_PROJECT_PRODUCTION_URL.
Beta Was this translation helpful? Give feedback.
All reactions