Skip to content

Commit

Permalink
Upgrade ESPAsyncWebServer from 2.10.8 to 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Aug 1, 2024
1 parent a17aa03 commit 03137e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ build_unflags =
-std=gnu++11

lib_deps =
mathieucarbou/ESP Async WebServer @ 2.10.8
mathieucarbou/ESPAsyncWebServer @ 3.1.2
bblanchon/ArduinoJson @ 7.0.4
https://github.com/bertmelis/espMqttClient.git#v1.7.0
nrf24/RF24 @ 1.4.8
Expand Down
2 changes: 1 addition & 1 deletion src/WebApi_webapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void WebApiWebappClass::responseBinaryDataWithETagCache(AsyncWebServerRequest *r
if (eTagMatch) {
response = request->beginResponse(304);
} else {
response = request->beginResponse_P(200, contentType, content, len);
response = request->beginResponse(200, contentType, content, len);
if (contentEncoding.length() > 0) {
response->addHeader("Content-Encoding", contentEncoding);
}
Expand Down

0 comments on commit 03137e1

Please sign in to comment.