From 0d2556405ecd3469e66b799b772e418bc4a8ee1a Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Mon, 24 Nov 2025 00:31:22 +0100 Subject: [PATCH] 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 --- tools/cdata.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/cdata.js b/tools/cdata.js index 6d4899ef..3a5b6da0 100644 --- a/tools/cdata.js +++ b/tools/cdata.js @@ -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) {