diff --git a/bootstrap/index.js b/bootstrap/index.js index bb23e952..83a5672e 100644 --- a/bootstrap/index.js +++ b/bootstrap/index.js @@ -22,7 +22,11 @@ const init = async () => { console.log('[GooseMod Bootstrap]', 'Found locale', locale); // eval(await (await fetch(`http://localhost:1234/goosemod.${locale}.js`)).text()); - eval(await (await fetch(`https://raw.githubusercontent.com/GooseMod/GooseMod/dist-dev/goosemod.${locale}.js?_`)).text()); + try { + eval(await (await fetch(`https://raw.githubusercontent.com/GooseMod/GooseMod/dist-dev/goosemod.${locale}.js?_`)).text()); + } catch { + eval(await (await fetch(`https://raw.githubusercontent.com/GooseMod/GooseMod/dist-dev/goosemod.${locale}.js?_${Date.now()}`)).text()); + } }; init();