factory reset formats entire little fs

renamed sunrise / sunset on indext.html to start / stop communication
show system information only if called directly from menu
This commit is contained in:
lumapu 2022-12-18 00:47:45 +01:00
parent e1b6fe1344
commit b2fc16e030
8 changed files with 50 additions and 29 deletions

View file

@ -203,6 +203,7 @@ class RestApi {
getMenu(obj.createNestedObject(F("menu")));
getSysInfo(obj.createNestedObject(F("system")));
obj[F("html")] = F("<a href=\"/factory\" class=\"btn\">Factory Reset</a><br/><br/><a href=\"/reboot\" class=\"btn\">Reboot</a>");
}
void getHtmlLogout(JsonObject obj) {