mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 15:02:21 +03:00
финальная рабочая версия
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user