Skip to content

Commit

Permalink
Update ESPAsyncWebServer to v3.4.3
Browse files Browse the repository at this point in the history
beginResponse_P() is deprecated
  • Loading branch information
tueddy committed Dec 18, 2024
1 parent 2155ed1 commit dce79b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ board_build.flash_mode = qio
board_build.bootloader = dio
board_build.partitions = custom_4mb_noota.csv
platform = espressif32@^6.9.0
;platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip ; Arduino 3.0.7
;platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip ; Arduino 3.1.0
;framework = arduino
framework = arduino, espidf
monitor_speed = 115200
Expand All @@ -35,7 +35,7 @@ lib_deps =
https://github.com/knolleary/pubsubclient.git#2d228f2
https://github.com/peterus/ESP-FTP-Server-Lib#554959f
https://github.com/FastLED/FastLED.git#de02bc1 ; v3.7.8
https://github.com/mathieucarbou/ESPAsyncWebServer.git#bccee27 ; v3.3.23
https://github.com/mathieucarbou/ESPAsyncWebServer.git#5a8b643 ; v3.4.3
https://github.com/bblanchon/ArduinoJson.git#40ee05c ; v6.21.5
https://github.com/pschatzmann/arduino-audio-tools.git#9d63174 ; v0.9.8
https://github.com/pschatzmann/ESP32-A2DP.git#bb5bc2f
Expand Down
2 changes: 1 addition & 1 deletion src/Web.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ void webserverStart(void) {
if (WiFi.getMode() == WIFI_STA) {
// serve management.html in station-mode
#ifdef NO_SDCARD
response = request->beginResponse_P(200, "text/html", (const uint8_t *) management_BIN, sizeof(management_BIN));
response = request->beginResponse(200, "text/html", (const uint8_t *) management_BIN, sizeof(management_BIN));
response->addHeader("Content-Encoding", "gzip");
#else
if (gFSystem.exists("/.html/index.htm")) {
Expand Down

0 comments on commit dce79b1

Please sign in to comment.