diff --git a/.github/scripts/dep-install.sh b/.github/scripts/dep-install.sh index fa1dd8e..7e8a4b2 100644 --- a/.github/scripts/dep-install.sh +++ b/.github/scripts/dep-install.sh @@ -1,5 +1,5 @@ #!/bin/bash cd ${HOME}/Arduino/libraries -git clone https://github.com/me-no-dev/ESPAsyncWebServer.git ESPAsyncWebServer -git clone https://github.com/me-no-dev/ESPAsyncTCP.git ESPAsyncTCP -git clone https://github.com/me-no-dev/AsyncTCP.git AsyncTCP +git clone https://github.com/dvarrel/ESPAsyncWebSrv.git ESPAsyncWebSrv +git clone https://github.com/dvarrel/ESPAsyncTCP.git ESPAsyncTCP +git clone https://github.com/dvarrel/AsyncTCP.git AsyncTCP diff --git a/README.md b/README.md index e6e16d5..63f69b9 100644 --- a/README.md +++ b/README.md @@ -102,13 +102,13 @@ upload_url = ``` #include #include -#include +#include #include const char* ssid = "........"; const char* password = "........"; -AsyncWebServer server(80); +AsyncWebSrv server(80); void setup(void) { @@ -148,7 +148,7 @@ void loop(void) { ``` #include #include -#include +#include #include const char* ssid = "........"; @@ -174,7 +174,7 @@ void setup(void) { Serial.print("IP address: "); Serial.println(WiFi.localIP()); - server.on("/", HTTP_GET, [](AsyncWebServerRequest *request) { + server.on("/", HTTP_GET, [](AsyncWebSrvRequest *request) { request->send(200, "text/plain", "Hi! I am ESP32."); }); diff --git a/examples/Async_Demo/Async_Demo.ino b/examples/Async_Demo/Async_Demo.ino index e854695..0a50881 100644 --- a/examples/Async_Demo/Async_Demo.ino +++ b/examples/Async_Demo/Async_Demo.ino @@ -15,7 +15,7 @@ #include #endif -#include +#include #include const char* ssid = "........"; diff --git a/src/AsyncElegantOTA.h b/src/AsyncElegantOTA.h index 326ff5d..1faf2f5 100644 --- a/src/AsyncElegantOTA.h +++ b/src/AsyncElegantOTA.h @@ -20,7 +20,7 @@ #endif #include "Hash.h" -#include "ESPAsyncWebServer.h" +#include "ESPAsyncWebSrv.h" #include "FS.h" #include "elegantWebpage.h"