debug: add read-only config routes to LilyGO isolation
This commit is contained in:
1 parent
1f54f39956
commit
03cad0481b
1 file changed
+6
@@ -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