This commit is contained in:
Marco Ippolito
2026-02-11 11:33:12 +05:30
committed by GitHub
3 changed files with 3 additions and 3 deletions

2
dist/setup/index.js vendored
View File

@@ -81660,7 +81660,7 @@ class BaseDistribution {
const dataUrl = `${initialUrl}/index.json`;
const headers = {};
if (this.nodeInfo.mirrorToken) {
headers['Authorization'] = `Bearer ${this.nodeInfo.mirrorToken}`;
headers['Authorization'] = this.nodeInfo.mirrorToken;
}
const response = await this.httpClient.getJson(dataUrl, headers);
return response.result || [];