8000 Implemented support for filters and removable routes in ESP8266WebServer by ayushsharma82 · Pull Request #9152 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

Implemented support for filters and removable routes in ESP8266WebServer #9152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jun 15, 2024
5 changes: 2 additions & 3 deletions libraries/ESP8266WebServer/examples/Filters/Filters.ino
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const char *password = "...";

// Your AP WiFi Credentials
// ( This is the AP your ESP will broadcast )
const char *ap_ssid = "ESP32_Demo";
const char *ap_ssid = "ESP8266_Demo";
const char *ap_password = "";

WebServer server(80);
Expand Down Expand Up @@ -66,7 +66,7 @@ void setup(void) {
Serial.print("IP address: ");
Serial.println(WiFi.localIP());

if (MDNS.begin("esp32")) {
if (MDNS.begin("esp8266")) {
Serial.println("MDNS responder started");
}

Expand Down Expand Up @@ -98,5 +98,4 @@ void setup(void) {

void loop(void) {
server.handleClient();
delay(2); //allow the cpu to switch to other tasks
}
0