mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
начал добавление виджетов
This commit is contained in:
@@ -17,6 +17,10 @@ void standWebServerInit() {
|
||||
HTTP.send(200, "application/json", readFile(F("config.json"), 10000));
|
||||
});
|
||||
|
||||
HTTP.on("/layout.json", HTTP_GET, []() {
|
||||
HTTP.send(200, "application/json", readFile(F("layout.json"), 10000));
|
||||
});
|
||||
|
||||
HTTP.on("/restart", HTTP_GET, []() {
|
||||
// ESP.restart();
|
||||
HTTP.send(200, "text/plain", "ok");
|
||||
|
||||
Reference in New Issue
Block a user