api: restore missing v1 routes for LilyGO
This commit is contained in:
@@ -4239,6 +4239,12 @@ void setup() {
|
||||
handleOtaUploadDone,
|
||||
handleOtaUploadStream);
|
||||
|
||||
|
||||
server.on(API_V1("/config/import"), HTTP_POST, handleImportConfig);
|
||||
server.on(API_V1("/config/ap/reset"), HTTP_POST, handleResetApConfig);
|
||||
server.on(API_V1("/bms/setup/enter"), HTTP_POST, handleEnterBmsSetup);
|
||||
server.on(API_V1("/bms/setup/exit"), HTTP_POST, handleExitBmsSetup);
|
||||
|
||||
server.begin();
|
||||
Serial.println("Bare WebServer started");
|
||||
lastStaReconnectAttempt = millis() - STA_RECONNECT_INTERVAL_MS + 5000;
|
||||
|
||||
Reference in New Issue
Block a user