From 1697f0193f807d145e3d1b0207c4e08f7f07a217 Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Fri, 4 Apr 2025 17:12:20 +0300 Subject: [PATCH] webui(local): do not attach network event handlers --- code/html/src/index.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/html/src/index.mjs b/code/html/src/index.mjs index 153045f3..c4932cfd 100644 --- a/code/html/src/index.mjs +++ b/code/html/src/index.mjs @@ -360,7 +360,10 @@ function init() { variableListeners(listeners()); - initConnection(); + if (!MODULE_LOCAL) { + initConnection(); + } + initSettings(); initPassword(); initWiFi();