mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
добавил наследника для класса отправки в сокеты
This commit is contained in:
@@ -211,7 +211,7 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
|
||||
}
|
||||
|
||||
if (payloadStr.startsWith("/config")) {
|
||||
if (myStreamJsonArray) myStreamJsonArray->sendFile("/config.json", num);
|
||||
if (mySendJson) mySendJson->sendFile("/config.json", num);
|
||||
}
|
||||
|
||||
if (payloadStr.startsWith("/changed")) {
|
||||
|
||||
Reference in New Issue
Block a user