debug: add config write routes to active LilyGO isolation setup
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user