|
@ -33,7 +33,7 @@ export default async function now (path, token, { forceNew, debug }) { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const agent = new Agent('zeit.co'); |
|
|
const agent = new Agent('now.zeit.co'); |
|
|
const fetch = async (url, opts) => { |
|
|
const fetch = async (url, opts) => { |
|
|
opts.headers = opts.headers || {}; |
|
|
opts.headers = opts.headers || {}; |
|
|
opts.headers.authorization = `Bearer ${token}`; |
|
|
opts.headers.authorization = `Bearer ${token}`; |
|
|