Skip to content

Commit ecba260

Browse files
committed
minified response html
1 parent c294c2c commit ecba260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ESPAsyncHTTPUpdateServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
static const char serverIndex[] PROGMEM =
3030
R"(<!doctypehtml><html lang=en><meta charset=utf-8><meta content="width=device-width,initial-scale=1"name=viewport><form action="?name=firmware"enctype=multipart/form-data method=POST>Firmware:<br><input type=file accept=.bin,.bin.gz name=firmware> <input type=submit value="Update Firmware"></form><form action="?name=filesystem"enctype=multipart/form-data method=POST>FileSystem:<br><input type=file accept=.bin,.bin.gz name=filesystem> <input type=submit value="Update FileSystem"></form>)";
3131
static const char successResponse[] PROGMEM =
32-
"<META http-equiv=\"refresh\" content=\"15;URL=/\">Update Success! Rebooting...";
32+
R"(<meta content="15;URL=/"http-equiv=refresh>Update Success! Rebooting...)";
3333

3434
ESPAsyncHTTPUpdateServer::ESPAsyncHTTPUpdateServer()
3535
{

0 commit comments

Comments
 (0)