mirror of
https://github.com/esphome/esphome.git
synced 2025-08-06 18:37:47 +00:00
single ota path
This commit is contained in:
parent
b88f87799e
commit
ad628c9cba
@ -83,7 +83,11 @@ class AuthMiddlewareHandler : public MiddlewareHandler {
|
||||
|
||||
} // namespace internal
|
||||
|
||||
#ifdef USE_WEBSERVER_OTA
|
||||
class WebServerBase : public ota_base::OTAComponent {
|
||||
#else
|
||||
class WebServerBase : public Component {
|
||||
#endif
|
||||
public:
|
||||
void init() {
|
||||
if (this->initialized_) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user