debug: add basic status routes to clean isolation
This commit is contained in:
@@ -4118,6 +4118,15 @@ void setup() {
|
||||
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();
|
||||
Serial.println("Bare WebServer started");
|
||||
heapCheckpoint("setup:end");
|
||||
|
||||
Reference in New Issue
Block a user