From 98826f85159932b11936ccb9e7e78d42454c5d74 Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Thu, 16 Dec 2021 02:22:45 +0100 Subject: [PATCH] final --- src/App.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.svelte b/src/App.svelte index 8e39957..2de16b9 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -250,11 +250,11 @@ addCoreMsg(data); //if (debug) console.log("[i]", "log data:", data); } else if (data.includes("[config]")) { + if (debug) console.log("[i]", "config data:", data); data = data.replace("[config]", ""); data = JSON.parse(data); config.push(data); config = config; - //if (debug) console.log("[i]", "config data:", data); } }); socket[ws].addEventListener("close", (event) => {