mirror of
https://github.com/esphome/esphome.git
synced 2024-12-28 16:31:44 +01:00
fix
This commit is contained in:
parent
07cb903334
commit
9920d8cba0
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue