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:
@@ -64,9 +64,9 @@ function adoptVersionAndRepo(html) {
|
|||||||
html = strReplace(html, "https://github.com/atuline/WLED", repoUrl);
|
html = strReplace(html, "https://github.com/atuline/WLED", repoUrl);
|
||||||
html = strReplace(html, "https://github.com/Aircoookie/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-dev/WLED", repoUrl);
|
||||||
html = strReplace(html, "https://github.com/wled/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", repoUrl); //WLEDMM
|
||||||
html = strReplace(html, "https://github.com/MoonModules/WLED-MM", repoUrl); //WLEDMM
|
// html = strReplace(html, "https://github.com/MoonModules/WLED-MM", repoUrl); //WLEDMM - not necessary to replace ourselves ;-)
|
||||||
}
|
}
|
||||||
let version = packageJson.version;
|
let version = packageJson.version;
|
||||||
if (version) {
|
if (version) {
|
||||||
|
|||||||
Reference in New Issue
Block a user