Skip to content

Commit 33b40f6

Browse files
authored
fix url assembly in forceUpdate
1 parent af0169f commit 33b40f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/esp32FOTA.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,7 @@ bool esp32FOTA::forceUpdate(const char* firmwareHost, uint16_t firmwarePort, con
908908
{
909909
static String firmwareURL("http");
910910
if ( firmwarePort == 443 || firmwarePort == 4433 ) firmwareURL += "s";
911+
firmwareURL += "://";
911912
firmwareURL += String(firmwareHost);
912913
firmwareURL += ":";
913914
firmwareURL += String(firmwarePort);

0 commit comments

Comments
 (0)