bugfix: Disable specific URL replacements in cdata.js

Comment out unnecessary URL replacements for WLED-MM.
-> solves double replacement bug that creates WLED-MM-MM
This commit is contained in:
Frank
2025-11-24 00:31:22 +01:00
committed by GitHub
parent 61ecefa8bd
commit 0d2556405e

View File

@@ -64,9 +64,9 @@ function adoptVersionAndRepo(html) {
html = strReplace(html, "https://github.com/atuline/WLED", repoUrl);
html = strReplace(html, "https://github.com/Aircoookie/WLED", repoUrl);
html = strReplace(html, "https://github.com/wled-dev/WLED", repoUrl);
html = strReplace(html, "https://github.com/wled/WLED", repoUrl);
html = strReplace(html, "https://github.com/MoonModules/WLED", repoUrl); //WLEDMM
html = strReplace(html, "https://github.com/MoonModules/WLED-MM", repoUrl); //WLEDMM
// html = strReplace(html, "https://github.com/wled/WLED", repoUrl);
// html = strReplace(html, "https://github.com/MoonModules/WLED", repoUrl); //WLEDMM
// html = strReplace(html, "https://github.com/MoonModules/WLED-MM", repoUrl); //WLEDMM - not necessary to replace ourselves ;-)
}
let version = packageJson.version;
if (version) {