Update distribution URL in distromanager.js

Revert distribution URL to 'https://helios-files.geekcorner.eu.org/distribution.json'. This change ensures compatibility with the older distribution endpoint and corrects the previous, unintended URL.
This commit is contained in:
Sandro642 2024-10-26 16:28:41 +02:00
parent 84b4ba91ed
commit f366b8b86a

View File

@ -4,9 +4,7 @@ const ConfigManager = require('./configmanager')
// Old WesterosCraft url. // Old WesterosCraft url.
// exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json' // exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json'
// https://helios-files.geekcorner.eu.org/distribution.json exports.REMOTE_DISTRO_URL = 'https://helios-files.geekcorner.eu.org/distribution.json'
exports.REMOTE_DISTRO_URL = 'https://api.skym-mc.fr/api/v1/servers/distro'
const api = new DistributionAPI( const api = new DistributionAPI(
ConfigManager.getLauncherDirectory(), ConfigManager.getLauncherDirectory(),