diff --git a/src/App.svelte b/src/App.svelte index 5a1a0f7..3485acf 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -293,10 +293,6 @@ if (debug) console.log("[i]", "configJson start!"); } if (configJsonFlag && result != "/st/config.json" && result != "/end/config.json") { - //от этой хрени надо избавиться - if (result.includes("/gifnoc.json")) { - result = result.replace("/gifnoc.json", ""); - } configJsonBuf = configJsonBuf + result; } if (result === "/end/config.json") { @@ -344,7 +340,7 @@ } function sendConfigJson() { - wsSendMsg(wsSelected, "/gifnoc.json" + JSON.stringify(configJson)); + wsSendMsg(wsSelected, "/gifnoc" + JSON.stringify(configJson)); clearData(); sendCurrentPageName(); }