Browse Source

Add some REST Api Endpoints to avail_endpoints

pull/1380/head
Frank 1 year ago
parent
commit
5c95a3143b
  1. 6
      src/web/RestApi.h

6
src/web/RestApi.h

@ -200,8 +200,14 @@ class RestApi {
ep[F("generic")] = url + F("generic");
ep[F("index")] = url + F("index");
ep[F("setup")] = url + F("setup");
#if !defined(ETHERNET)
ep[F("setup/networks")] = url + F("setup/networks");
ep[F("setup/getip")] = url + F("setup/getip");
#endif /* !defined(ETHERNET) */
ep[F("system")] = url + F("system");
ep[F("live")] = url + F("live");
ep[F("powerHistory")] = url + F("powerHistory");
ep[F("yieldDayHistory")] = url + F("yieldDayHistory");
}

Loading…
Cancel
Save