debug: add OTA routes using original handlers
This commit is contained in:
@@ -4229,7 +4229,12 @@ void setup() {
|
||||
|
||||
|
||||
server.on("/update", HTTP_GET, handleOtaPage);
|
||||
server.on("/update", HTTP_POST, handleOtaUploadDone, handleOtaUpload);
|
||||
|
||||
|
||||
server.on("/ota", HTTP_GET, handleOtaPage);
|
||||
server.on(API_V1("/system/ota"), HTTP_POST,
|
||||
handleOtaUploadDone,
|
||||
handleOtaUploadStream);
|
||||
|
||||
server.begin();
|
||||
Serial.println("Bare WebServer started");
|
||||
|
||||
Reference in New Issue
Block a user