mirror of
https://github.com/esphome/esphome.git
synced 2025-08-07 19:07:45 +00:00
single ota path
This commit is contained in:
parent
b88f87799e
commit
ad628c9cba
@ -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_) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user