mirror of
https://github.com/esphome/esphome.git
synced 2025-10-23 20:23:50 +01:00
Replace custom OTA implementation in web_server_base (#9274)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -212,11 +212,6 @@ class WebServer : public Controller, public Component, public AsyncWebHandler {
|
||||
* @param include_internal Whether internal components should be displayed.
|
||||
*/
|
||||
void set_include_internal(bool include_internal) { include_internal_ = include_internal; }
|
||||
/** Set whether or not the webserver should expose the OTA form and handler.
|
||||
*
|
||||
* @param allow_ota.
|
||||
*/
|
||||
void set_allow_ota(bool allow_ota) { this->allow_ota_ = allow_ota; }
|
||||
/** Set whether or not the webserver should expose the Log.
|
||||
*
|
||||
* @param expose_log.
|
||||
@@ -525,7 +520,6 @@ class WebServer : public Controller, public Component, public AsyncWebHandler {
|
||||
#ifdef USE_WEBSERVER_JS_INCLUDE
|
||||
const char *js_include_{nullptr};
|
||||
#endif
|
||||
bool allow_ota_{true};
|
||||
bool expose_log_{true};
|
||||
#ifdef USE_ESP32
|
||||
std::deque<std::function<void()>> to_schedule_;
|
||||
|
||||
Reference in New Issue
Block a user