mirror of
https://github.com/tiennm99/WPlace-AutoBOT.git
synced 2026-10-19 00:14:43 +00:00
hotfix update urls
This commit is contained in:
1 parent
95db53a3c4
commit
09272dbde1
2 files changed
+5
-5
No files matched your search
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user