[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

@@ -202,7 +202,7 @@ async function fetchTokenWithRetry(retries = 5) {
}
async function fetchApi(url, opts = {}) {
const apiHost = process.env.API_HOST || 'api.zeit.co';
const apiHost = process.env.API_HOST || 'api.vercel.com';
const urlWithHost = `https://${apiHost}${url}`;
const { method = 'GET', body } = opts;