From a99165f4a3a1e9887161df591c6522b4a7f782a8 Mon Sep 17 00:00:00 2001 From: nick Date: Tue, 30 Jun 2026 01:05:43 -0600 Subject: [PATCH] debug: add basic routes to LilyGO isolation build --- .../overland-controller.ino | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) 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");