diff --git a/Auto-Image.js b/Auto-Image.js index 049bad5..306364a 100644 --- a/Auto-Image.js +++ b/Auto-Image.js @@ -284,7 +284,7 @@ function applyTheme() { } // Load translations from CDN - const url = `https://staninna.github.io/WPlace-AutoBOT/decoupled-translations/lang/${language}.json`; + const url = `https://raw.githubusercontent.com/Wplace-AutoBot/WPlace-AutoBOT/main/decoupled-translations/lang/${language}.json`; const maxRetries = 3; const baseDelay = 1000; // 1 second @@ -2729,7 +2729,7 @@ function applyTheme() { // Link external CSS files const cssLink = document.createElement('link'); cssLink.rel = 'stylesheet'; - cssLink.href = 'https://staninna.github.io/WPlace-AutoBOT/decoupled-css/auto-image-styles.css'; // TODO: Before merge change to https://raw.githubusercontent.com/Wplace-AutoBot/WPlace-AutoBOT/refs/heads/main/auto-image-styles.css + cssLink.href = 'https://raw.githubusercontent.com/Wplace-AutoBot/WPlace-AutoBOT/main/auto-image-styles.css'; cssLink.setAttribute('data-wplace-theme', 'true'); document.head.appendChild(cssLink); diff --git a/auto-image-styles.css b/auto-image-styles.css index e3fecf3..e301987 100644 --- a/auto-image-styles.css +++ b/auto-image-styles.css @@ -8,9 +8,9 @@ /* ========================= */ /* Import theme files - classic is default */ -@import url('https://staninna.github.io/WPlace-AutoBOT/decoupled-css/themes/classic.css'); -@import url('https://staninna.github.io/WPlace-AutoBOT/decoupled-css/themes/classic-light.css'); -@import url('https://staninna.github.io/WPlace-AutoBOT/decoupled-css/themes/neon.css'); +@import url('https://raw.githubusercontent.com/Wplace-AutoBot/WPlace-AutoBOT/main/themes/classic.css'); +@import url('https://raw.githubusercontent.com/Wplace-AutoBot/WPlace-AutoBOT/main/themes/classic-light.css'); +@import url('https://raw.githubusercontent.com/Wplace-AutoBot/WPlace-AutoBOT/main/themes/neon.css'); /* Default :root CSS variables for 100% classic theme compliance */ /* These ensure the bot works perfectly even if theme files fail to load */