mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 03:32:12 -08:00
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:
parent
485facf1f1
commit
33788d4086
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user