debug: add basic status routes to clean isolation
This commit is contained in:
@@ -4118,6 +4118,15 @@ void setup() {
|
|||||||
startAccessPoint();
|
startAccessPoint();
|
||||||
heapCheckpoint("after:startAccessPoint");
|
heapCheckpoint("after:startAccessPoint");
|
||||||
|
|
||||||
|
|
||||||
|
server.on("/", HTTP_GET, []() {
|
||||||
|
server.send(200, "text/plain", "Overland Controller");
|
||||||
|
});
|
||||||
|
|
||||||
|
server.on(API_V1("/health"), HTTP_GET, handleHealth);
|
||||||
|
server.on(API_V1("/capabilities"), HTTP_GET, handleCapabilities);
|
||||||
|
server.on(API_V1("/status"), handleStatus);
|
||||||
|
|
||||||
server.begin();
|
server.begin();
|
||||||
Serial.println("Bare WebServer started");
|
Serial.println("Bare WebServer started");
|
||||||
heapCheckpoint("setup:end");
|
heapCheckpoint("setup:end");
|
||||||
|
|||||||
Reference in New Issue
Block a user