diff --git a/firmware/esp32/overland-controller/overland-controller.ino b/firmware/esp32/overland-controller/overland-controller.ino index 56365e7..ef9dc37 100644 --- a/firmware/esp32/overland-controller/overland-controller.ino +++ b/firmware/esp32/overland-controller/overland-controller.ino @@ -4151,6 +4151,39 @@ void setup() { Serial.print("AP IP: "); Serial.println(WiFi.softAPIP()); + + server.on("/", HTTP_GET, []() { + server.send(200, "text/plain", "Overland Controller"); + }); + + server.on("/generate_204", HTTP_GET, []() { + server.send(204, "text/plain", ""); + }); + + server.on("/gen_204", HTTP_GET, []() { + server.send(204, "text/plain", ""); + }); + + server.on("/hotspot-detect.html", HTTP_GET, []() { + server.send(200, "text/html", "Success"); + }); + + server.on("/library/test/success.html", HTTP_GET, []() { + server.send(200, "text/html", "Success"); + }); + + server.on("/connecttest.txt", HTTP_GET, []() { + server.send(200, "text/plain", "Microsoft Connect Test"); + }); + + server.on("/ncsi.txt", HTTP_GET, []() { + server.send(200, "text/plain", "Microsoft NCSI"); + }); + + server.on(API_V1("/health"), HTTP_GET, handleHealth); + server.on(API_V1("/capabilities"), HTTP_GET, handleCapabilities); + + heapCheckpoint("before:server.begin"); server.begin(); heapCheckpoint("after:server.begin");