mirror of
https://github.com/esphome/esphome.git
synced 2025-09-21 20:52:20 +01:00
single ota path
This commit is contained in:
@@ -83,7 +83,11 @@ class AuthMiddlewareHandler : public MiddlewareHandler {
|
|||||||
|
|
||||||
} // namespace internal
|
} // namespace internal
|
||||||
|
|
||||||
|
#ifdef USE_WEBSERVER_OTA
|
||||||
class WebServerBase : public ota_base::OTAComponent {
|
class WebServerBase : public ota_base::OTAComponent {
|
||||||
|
#else
|
||||||
|
class WebServerBase : public Component {
|
||||||
|
#endif
|
||||||
public:
|
public:
|
||||||
void init() {
|
void init() {
|
||||||
if (this->initialized_) {
|
if (this->initialized_) {
|
||||||
|
Reference in New Issue
Block a user