1
0
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:
J. Nick Koston
2025-07-01 10:36:36 -05:00
parent b88f87799e
commit ad628c9cba

View File

@@ -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_) {