mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 05:06:44 +00:00
Remove Update from URL #300
This commit is contained in:
parent
d8c037bcdb
commit
1acbd6439b
@ -2053,6 +2053,7 @@ static void webHandleFirmware()
|
||||
httpMessage += F("<button type='submit' name='save' value='debug'>" D_HTTP_UPDATE_FIRMWARE "</button>");
|
||||
httpMessage += F("</form></div>");
|
||||
|
||||
/* Update from URL
|
||||
// Form
|
||||
httpMessage += F("<div class='container'><form method='POST' action='/espfirmware'>");
|
||||
|
||||
@ -2064,6 +2065,7 @@ static void webHandleFirmware()
|
||||
// Submit & End Form
|
||||
httpMessage += F("<button type='submit' name='save' value='debug'>Update from URL</button>");
|
||||
httpMessage += F("</form></div>");
|
||||
*/
|
||||
|
||||
httpMessage += FPSTR(MAIN_MENU_BUTTON);
|
||||
|
||||
@ -2384,7 +2386,7 @@ void httpSetup()
|
||||
LOG_VERBOSE(TAG_HTTP, F("Total size: %s"), webServer.hostHeader().c_str());
|
||||
},
|
||||
webHandleFirmwareUpload);
|
||||
webServer.on(F("/espfirmware"), httpHandleEspFirmware);
|
||||
// webServer.on(F("/espfirmware"), httpHandleEspFirmware);
|
||||
#endif
|
||||
|
||||
LOG_INFO(TAG_HTTP, F(D_SERVICE_STARTED));
|
||||
|
Loading…
x
Reference in New Issue
Block a user