debug: add WiFi write routes to LilyGO isolation
This commit is contained in:
@@ -4146,6 +4146,11 @@ void setup() {
|
|||||||
server.on(API_V1("/config/factory-reset"), HTTP_POST, handleFactoryResetConfig);
|
server.on(API_V1("/config/factory-reset"), HTTP_POST, handleFactoryResetConfig);
|
||||||
server.on(API_V1("/config/save"), HTTP_POST, handleSaveConfig);
|
server.on(API_V1("/config/save"), HTTP_POST, handleSaveConfig);
|
||||||
|
|
||||||
|
|
||||||
|
server.on(API_V1("/config/wifi"), HTTP_POST, handleUpdateWifiConfig);
|
||||||
|
server.on(API_V1("/wifi/connect"), HTTP_POST, handleWifiConnect);
|
||||||
|
server.on(API_V1("/wifi/clear"), HTTP_POST, handleWifiClear);
|
||||||
|
|
||||||
server.begin();
|
server.begin();
|
||||||
Serial.println("Bare WebServer started");
|
Serial.println("Bare WebServer started");
|
||||||
heapCheckpoint("setup:end");
|
heapCheckpoint("setup:end");
|
||||||
|
|||||||
Reference in New Issue
Block a user