[all] Rename ZEIT Now to Vercel (#4112)

https://vercel.com/blog/zeit-is-now-vercel

Co-authored-by: Nathan Rajlich <n@n8.io>
This commit is contained in:
Steven
2020-04-21 19:11:12 -04:00
committed by GitHub
parent 987ce6c26b
commit 28e01528c5
154 changed files with 678 additions and 494 deletions

View File

@@ -8,10 +8,10 @@ async function fetchRetry (...args) {
return await fetch(...args);
} catch (error) {
if (error.code === 'ENOTFOUND') {
// getaddrinfo ENOTFOUND api.zeit.co like some transient dns issue
// getaddrinfo ENOTFOUND api.vercel.com like some transient dns issue
throw canRetry(error);
} else if (error.code === 'ETIMEDOUT') {
// request to https://api-gru1.zeit.co/v3/now/deployments/dpl_FBWWhpQomjgwjJLu396snLrGZYCm failed, reason:
// request to https://api-gru1.vercel.com/v3/now/deployments/dpl_FBWWhpQomjgwjJLu396snLrGZYCm failed, reason:
// connect ETIMEDOUT 18.228.143.224:443
throw canRetry(error);
}