debug: add basic status routes to clean isolation
This commit is contained in:
1 parent
b556d338d7
commit
43d201d040
1 file changed
+9
@@ -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