diff --git a/firmware/esp32/overland-controller/overland-controller.ino b/firmware/esp32/overland-controller/overland-controller.ino index 2df9866..cd2efd0 100644 --- a/firmware/esp32/overland-controller/overland-controller.ino +++ b/firmware/esp32/overland-controller/overland-controller.ino @@ -4137,6 +4137,14 @@ void setup() { server.on(API_V1("/config/wifi"), HTTP_GET, handleGetWifiConfig); server.on(API_V1("/config/ap"), HTTP_GET, handleGetApConfig); + + server.on(API_V1("/config/device"), HTTP_POST, handleUpdateDeviceConfig); + server.on(API_V1("/config/relay"), HTTP_POST, handleUpdateRelayConfig); + server.on(API_V1("/config/bms"), HTTP_POST, handleUpdateBmsConfig); + server.on(API_V1("/config/temp"), HTTP_POST, handleUpdateTempSensorConfig); + server.on(API_V1("/config/factory-reset"), HTTP_POST, handleFactoryResetConfig); + server.on(API_V1("/config/save"), HTTP_POST, handleSaveConfig); + server.begin(); Serial.println("Bare WebServer started"); heapCheckpoint("setup:end");