Update SapMachine URLs

This commit is contained in:
christian 2025-09-29 15:33:25 +02:00 committed by GitHub
parent ead9eaa3cf
commit cda5f65d41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,12 +64,12 @@ export class SapMachineDistribution extends JavaBase {
const arch = this.distributionArchitecture();
let fetchedReleasesJson = await this.fetchReleasesFromUrl(
'https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json'
'https://sapmachine.io/assets/data/sapmachine-releases-all.json'
);
if (!fetchedReleasesJson) {
fetchedReleasesJson = await this.fetchReleasesFromUrl(
'https://api.github.com/repos/SAP/SapMachine/contents/assets/data/sapmachine-releases-all.json?ref=gh-pages',
'https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json',
getGitHubHttpHeaders()
);
}