Update REMOTE_DISTRO_URL to new API endpoint

Switched the distribution URL to a more reliable API endpoint to improve stability and performance. The new URL is 'https://api.skym-mc.fr/api/v1/servers/distro', which replaces the old one.
This commit is contained in:
Sandro642 2024-10-26 16:27:50 +02:00
parent 485facf1f1
commit 33788d4086

View File

@ -4,7 +4,9 @@ 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'
exports.REMOTE_DISTRO_URL = 'https://helios-files.geekcorner.eu.org/distribution.json' // 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(),