From 3aa38fb256b77682cc11c26047806fc757134f87 Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Tue, 16 Aug 2022 14:07:10 +0200 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=86?= =?UTF-8?q?=D0=B2=D0=B5=D1=82=D0=B0=20toggle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.svelte | 8 +++++--- src/widgets/Input.svelte | 2 +- src/widgets/Toggle.svelte | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index 4e680b5..0e192b7 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -29,7 +29,6 @@ //****************************************************constants section*********************************************************/ //******************************************************************************************************************************/ - let version = 410; let debug = true; let LOG_MAX_MESSAGES = 100; let reconnectTimeout = 20000; @@ -37,11 +36,12 @@ let updatingTimeout = 80000; let opened = false; let preventMove = false; + let devMode = true; //****************************************************variable section**********************************************************/ //******************************************************************************************************************************/ let myip = document.location.hostname; - //let myip = "192.168.88.228"; + if (devMode) myip = "192.168.88.228"; //Flags let firstDevListRequest = true; @@ -1122,7 +1122,9 @@ wsPush(ws, topic, status)} /> - + {#if devMode} +