From 37c9e9b169dd2a0da3e4d6c0c1ba9229a75b2a8d Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <67171972+IoTManagerProject@users.noreply.github.com> Date: Tue, 25 Jan 2022 22:21:42 +0100 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BD=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=87=D0=B0=D1=8F=20?= =?UTF-8?q?=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.svelte | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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(); }