fix: remove hardcoded bearer (#1467)

This commit is contained in:
Marco Ippolito
2026-02-19 13:58:14 -04:00
committed by GitHub
parent d02c89dce7
commit efcb663fc6
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 || [];