Closed styfle closed 1 year ago
Ping @wraithgar
This is a follow up PR fell out of discussions had with Vercel when I had asked about the vercel-bitbucket
, vercel-gitlab
, and vercel-github
environments and if VERCEL_URL
would still be set in all of them. Turns out there is a canonical way to check if we are in the vercel environment that is currently true everywhere that VERCEL_URL
is set, making it a simple fix
commit and not a breaking change.
Published in v3.6.2
The
VERCEL
env var is a little more canonical for checking existence, rather thanVERCEL_URL
which checks the deployment's unique url.https://vercel.com/docs/concepts/projects/environment-variables#system-environment-variables