From 33788d4086f9afafab9f779db6c31246419d3492 Mon Sep 17 00:00:00 2001 From: Sandro642 Date: Sat, 26 Oct 2024 16:27:50 +0200 Subject: [PATCH] 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. --- app/assets/js/distromanager.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/js/distromanager.js b/app/assets/js/distromanager.js index 8ae8ca0c..c8ef79af 100644 --- a/app/assets/js/distromanager.js +++ b/app/assets/js/distromanager.js @@ -4,7 +4,9 @@ const ConfigManager = require('./configmanager') // Old WesterosCraft url. // 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( ConfigManager.getLauncherDirectory(),