Skip to content

Commit 94a1509

Browse files
evhartend-a-v
authored andcommitted
Fix for redirect of HTTP Update, so that it always returns to the root / instead of /update (esp8266#3420)
1 parent 1515ada commit 94a1509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266HTTPUpdateServer/src/ESP8266HTTPUpdateServer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ static const char serverIndex[] PROGMEM =
1414
</form>
1515
</body></html>)";
1616
static const char successResponse[] PROGMEM =
17-
"<META http-equiv=\"refresh\" content=\"15;URL=\">Update Success! Rebooting...\n";
17+
"<META http-equiv=\"refresh\" content=\"15;URL=/\">Update Success! Rebooting...\n";
1818

1919
ESP8266HTTPUpdateServer::ESP8266HTTPUpdateServer(bool serial_debug)
2020
{

0 commit comments

Comments
 (0)