mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-09-22 11:57:48 +00:00
Always make requests against api.github.com
This commit is contained in:
5
dist/setup/index.js
generated
vendored
5
dist/setup/index.js
generated
vendored
@ -122822,7 +122822,7 @@ const plugin_paginate_rest_1 = __nccwpck_require__(93779);
|
||||
const plugin_rest_endpoint_methods_1 = __nccwpck_require__(49210);
|
||||
const undici_1 = __nccwpck_require__(46752);
|
||||
const DEFAULTS = {
|
||||
baseUrl: getApiBaseUrl(),
|
||||
baseUrl: "https://api.github.com",
|
||||
userAgent: "setup-uv",
|
||||
};
|
||||
function getProxyAgent() {
|
||||
@ -122851,9 +122851,6 @@ exports.Octokit = core_1.Octokit.plugin(plugin_paginate_rest_1.paginateRest, plu
|
||||
},
|
||||
};
|
||||
});
|
||||
function getApiBaseUrl() {
|
||||
return process.env.GITHUB_API_URL || "https://api.github.com";
|
||||
}
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
Reference in New Issue
Block a user