mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
fix
This commit is contained in:
parent
07cb903334
commit
9920d8cba0
@ -134,6 +134,7 @@ class OTARequestHandler : public AsyncWebHandler {
|
|||||||
bool canHandle(AsyncWebServerRequest *request) override {
|
bool canHandle(AsyncWebServerRequest *request) override {
|
||||||
return request->url() == "/update" && request->method() == HTTP_POST;
|
return request->url() == "/update" && request->method() == HTTP_POST;
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOLINTNEXTLINE(readability-identifier-naming)
|
// NOLINTNEXTLINE(readability-identifier-naming)
|
||||||
bool isRequestHandlerTrivial() override { return false; }
|
bool isRequestHandlerTrivial() override { return false; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user