debug: add OTA routes using original handlers
This commit is contained in:
1 parent
c602187163
commit
ebed07500a
1 file changed
+6
-1
@@ -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