mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-30 11:59:21 +03:00
финальная рабочая версия
This commit is contained in:
@@ -293,10 +293,6 @@
|
|||||||
if (debug) console.log("[i]", "configJson start!");
|
if (debug) console.log("[i]", "configJson start!");
|
||||||
}
|
}
|
||||||
if (configJsonFlag && result != "/st/config.json" && result != "/end/config.json") {
|
if (configJsonFlag && result != "/st/config.json" && result != "/end/config.json") {
|
||||||
//от этой хрени надо избавиться
|
|
||||||
if (result.includes("/gifnoc.json")) {
|
|
||||||
result = result.replace("/gifnoc.json", "");
|
|
||||||
}
|
|
||||||
configJsonBuf = configJsonBuf + result;
|
configJsonBuf = configJsonBuf + result;
|
||||||
}
|
}
|
||||||
if (result === "/end/config.json") {
|
if (result === "/end/config.json") {
|
||||||
@@ -344,7 +340,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function sendConfigJson() {
|
function sendConfigJson() {
|
||||||
wsSendMsg(wsSelected, "/gifnoc.json" + JSON.stringify(configJson));
|
wsSendMsg(wsSelected, "/gifnoc" + JSON.stringify(configJson));
|
||||||
clearData();
|
clearData();
|
||||||
sendCurrentPageName();
|
sendCurrentPageName();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user