Hieromon / AutoConnect

An Arduino library for ESP8266/ESP32 WLAN configuration at runtime with the Web interface
https://hieromon.github.io/AutoConnect/
MIT License
911 stars 190 forks source link

Using Ota Web Browser and Update Server at the same time #582

Closed askiin35 closed 1 year ago

askiin35 commented 1 year ago

Hello, I want to use it on the server and browser in the ota part. But there are two updates in the menu and it's routing the update through the server in both menus. Is it possible to use two ota features at the same time? It doesn't work even though I replace the links with defs. Kind regards.

Hieromon commented 1 year ago

AutoConnectOTA inherits the structure of ArduinoOTA, while AutoConnectUpdate inherits the structure of HTTPUpdate of the core library. Even if the upload request URLs are separated, they cannot coexist. As far as I know, the WebServer library does not allow them to coexist.