diff --git a/main/webUI.cpp b/main/webUI.cpp index 609f847..e619ff9 100644 --- a/main/webUI.cpp +++ b/main/webUI.cpp @@ -1820,7 +1820,8 @@ void WebUISetup() { server.on("/up", handleUP); // Firmware Upgrade # endif server.on("/cn", handleCN); // Configuration - server.on("/wi", HTTP_POST, handleWI); // Configure Wifi + server.on("/wi", HTTP_GET, handleWI); // Scan for WiFi networks (GET link) + server.on("/wi", HTTP_POST, handleWI); // Configure Wifi (save form, POST) server.on("/mq", HTTP_POST, handleMQ); // Configure MQTT # ifndef ESPWifiManualSetup server.on("/cg", handleCG); // Configure gateway