mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 21:07:46 +00:00
[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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user