diff --git a/app/assets/js/distromanager.js b/app/assets/js/distromanager.js index 90a2ab8..aec7985 100644 --- a/app/assets/js/distromanager.js +++ b/app/assets/js/distromanager.js @@ -538,9 +538,10 @@ exports.pullRemote = function(){ } return new Promise((resolve, reject) => { const distroURL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json' + const testDistroURL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json' //const distroURL = 'https://gist.githubusercontent.com/dscalzi/53b1ba7a11d26a5c353f9d5ae484b71b/raw/' const opts = { - url: distroURL, + url: ConfigManager.isTesting()? testDistroURL : distroURL, timeout: 2500 } const distroDest = path.join(ConfigManager.getLauncherDirectory(), 'distribution.json') @@ -608,4 +609,4 @@ exports.isDevMode = function(){ */ exports.getDistribution = function(){ return data -} \ No newline at end of file +}