added update information to index.html

This commit is contained in:
lumapu 2022-12-28 00:08:18 +01:00
parent 4f962ff962
commit 75628ad230
3 changed files with 23 additions and 3 deletions

View file

@ -54,7 +54,6 @@ class RestApi {
AsyncJsonResponse* response = new AsyncJsonResponse(false, 8192);
JsonObject root = response->getRoot();
Inverter<> *iv = mSys->getInverterByPos(0, false);
String path = request->url().substring(5);
if(path == "html/system") getHtmlSystem(root);
else if(path == "html/logout") getHtmlLogout(root);