debug: add relay routes to clean isolation

This commit is contained in:
2026-06-30 22:02:04 -06:00
parent 43d201d040
commit 5571aca726
@@ -4127,6 +4127,11 @@ void setup() {
server.on(API_V1("/capabilities"), HTTP_GET, handleCapabilities); server.on(API_V1("/capabilities"), HTTP_GET, handleCapabilities);
server.on(API_V1("/status"), handleStatus); server.on(API_V1("/status"), handleStatus);
server.on(API_V1("/relays"), HTTP_GET, handleGetRelays);
server.on(API_V1("/relays/toggle"), HTTP_POST, handleRelayToggle);
server.on(API_V1("/relays/set"), HTTP_POST, handleRelaySet);
server.begin(); server.begin();
Serial.println("Bare WebServer started"); Serial.println("Bare WebServer started");
heapCheckpoint("setup:end"); heapCheckpoint("setup:end");