hotfix update urls

This commit is contained in:
Staninna committed 2025-08-30 19:53:39 +02:00
1 parent 95db53a3c4
commit 09272dbde1
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -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);
+3 -3
View File
@@ -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 */