debug: add read-only config routes to LilyGO isolation
This commit is contained in:
@@ -4131,6 +4131,12 @@ void setup() {
|
||||
|
||||
|
||||
|
||||
|
||||
server.on(API_V1("/config"), HTTP_GET, handleGetConfig);
|
||||
server.on(API_V1("/config/export"), HTTP_GET, handleExportConfig);
|
||||
server.on(API_V1("/config/wifi"), HTTP_GET, handleGetWifiConfig);
|
||||
server.on(API_V1("/config/ap"), HTTP_GET, handleGetApConfig);
|
||||
|
||||
server.begin();
|
||||
Serial.println("Bare WebServer started");
|
||||
heapCheckpoint("setup:end");
|
||||
|
||||
Reference in New Issue
Block a user