fix: remove hardcoded bearer

This commit is contained in:
Marco Ippolito 2026-01-14 16:55:32 +01:00
parent 2951748f4c
commit 0e2c5c90a1
No known key found for this signature in database
GPG key ID: 27F5E38D5B0A215F
3 changed files with 3 additions and 3 deletions

2
dist/setup/index.js vendored
View file

@ -54246,7 +54246,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 || [];