mirror of https://github.com/arendst/Tasmota.git
add #ifdef, works only uncompressed
This commit is contained in:
parent
14d157c255
commit
d419635be0
|
@ -2,7 +2,7 @@
|
||||||
// compressed by tools/unishox/compress-html-uncompressed.py
|
// compressed by tools/unishox/compress-html-uncompressed.py
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
const size_t HTTP_HEADER1_SIZE = 899;
|
const size_t HTTP_HEADER1_SIZE = 753;
|
||||||
const char HTTP_HEADER1_COMPRESSED[] PROGMEM = "\x3D\x0F\xE1\x10\x98\x1D\x19\x0C\x64\x85\x50\xD0\x8F\xC3\xD0\x55\x0D\x09\x05\x7C"
|
const char HTTP_HEADER1_COMPRESSED[] PROGMEM = "\x3D\x0F\xE1\x10\x98\x1D\x19\x0C\x64\x85\x50\xD0\x8F\xC3\xD0\x55\x0D\x09\x05\x7C"
|
||||||
"\x3C\x7C\x3D\x87\xD7\x8F\x62\x0C\x2B\xF7\x8F\x87\xB0\xF6\x1F\x87\xA0\xA7\x62\x1F"
|
"\x3C\x7C\x3D\x87\xD7\x8F\x62\x0C\x2B\xF7\x8F\x87\xB0\xF6\x1F\x87\xA0\xA7\x62\x1F"
|
||||||
"\x87\xA0\xD7\x56\x83\x15\x7F\xF3\xA3\xE1\xF6\x2E\x8C\x1D\x67\x3E\x7D\x90\x21\x52"
|
"\x87\xA0\xD7\x56\x83\x15\x7F\xF3\xA3\xE1\xF6\x2E\x8C\x1D\x67\x3E\x7D\x90\x21\x52"
|
||||||
|
@ -10,26 +10,25 @@ const char HTTP_HEADER1_COMPRESSED[] PROGMEM = "\x3D\x0F\xE1\x10\x98\x1D\x19\x0C
|
||||||
"\x28\x51\xF0\x46\x67\xA1\xB3\xAC\x7F\x44\xA1\x47\x56\xF6\xD6\xD8\x47\x5F\x83\xB0"
|
"\x28\x51\xF0\x46\x67\xA1\xB3\xAC\x7F\x44\xA1\x47\x56\xF6\xD6\xD8\x47\x5F\x83\xB0"
|
||||||
"\x99\xF0\xE4\x3A\x88\x5F\x9F\xCE\xBF\x07\x61\x58\xE0\x99\xF3\xB0\xF6\x1D\x87\xE1"
|
"\x99\xF0\xE4\x3A\x88\x5F\x9F\xCE\xBF\x07\x61\x58\xE0\x99\xF3\xB0\xF6\x1D\x87\xE1"
|
||||||
"\xE8\x16\xF1\xA2\xFB\x08\xF8\x7B\x34\x3C\xE3\xD8\x85\x7D\x98\x3E\x1E\xC1\x2E\xAC"
|
"\xE8\x16\xF1\xA2\xFB\x08\xF8\x7B\x34\x3C\xE3\xD8\x85\x7D\x98\x3E\x1E\xC1\x2E\xAC"
|
||||||
"\xF3\xD1\xB6\x3C\xCE\xC3\x61\xD7\xA1\xE7\x1E\x07\x5F\x99\xCE\xC3\xA8\x88\xAE\xEC"
|
"\xF3\xD1\xB6\x3C\xCE\xC3\x61\xD7\xA1\xE7\x1E\x07\x5F\x99\xCE\xC3\xA8\x81\x0A\x18"
|
||||||
"\x75\xDB\xB6\x3A\xEE\xED\xD8\xEB\xB2\xC2\xB2\x35\x15\x95\x91\x81\xE2\xB2\xB2\xB2"
|
"\x21\x43\x22\xBB\xB1\xD7\x6E\xD8\xEB\x0E\xED\xDD\x9A\x83\x21\xF2\xB2\xB2\xB2\xB2"
|
||||||
"\x0C\x78\x8A\xEE\xEC\xD5\x77\x77\xB6\x46\xF4\x02\x27\x63\xAC\x8D\xE8\x84\x4C\x81"
|
"\x30\x3C\x56\x56\x56\x41\x8F\x11\x5D\xDD\x9A\xAE\xEE\xF6\xC8\xDE\x80\x44\xC8\x10"
|
||||||
"\x12\x31\xBD\x28\x84\x3B\x0E\xC3\xB0\xE7\xC8\xAC\x7C\x88\x68\x97\x7A\x1D\x90\xF0"
|
"\xA5\x1B\xD7\x8E\xC3\xB0\xEC\x3B\x0A\xC8\x61\xCD\x3B\x08\x71\xDB\x21\x47\x38\x88"
|
||||||
"\x29\x60\x46\xF6\x22\x6D\x04\x28\x84\x43\x86\xD0\xDA\x20\x41\xD7\x08\x68\xF9\x0D"
|
"\xD8\x72\x8E\xC2\x14\x73\xE4\x68\x71\x11\x99\xCC\x26\x46\xDE\x1C\x76\xC8\x50\xB1"
|
||||||
"\x1F\x21\xA3\xE5\x65\x65\x65\x65\xA3\xE5\x66\xD2\x2B\x13\x6E\xEE\xC8\xC8\xAC\x84"
|
"\x0E\x51\xD8\x42\x8E\x78\xB8\x43\x33\x98\x4C\xE6\xD9\x0E\x3B\x64\x60\x69\x1B\x46"
|
||||||
"\x21\xA5\x65\xA3\xE4\x57\x76\x23\xB1\xA4\x3E\x45\x75\x77\x76\x34\x87\x8A\xCD\xA5"
|
"\x9D\x82\x88\x69\xA1\xB0\xCC\xE6\x11\x1B\x47\x88\xDA\x38\xED\x90\xA2\xC0\xCE\x51"
|
||||||
"\x64\x19\x0D\x2B\x2B\x36\x15\x9A\xC9\x90\x84\x34\x87\x10\xD1\xE2\x66\xD2\x1A\x46"
|
"\xD8\x42\x8E\x69\xDB\x21\x0C\xCE\x61\x18\x21\x84\x30\x71\xDB\x21\x47\x34\xB8\xE5"
|
||||||
"\xA2\x1A\x6C\x21\xA6\xC2\x1A\x3E\x4C\xDA\x4C\xDA\x4C\x84\x21\xA6\xD2\x1A\x3E\x4C"
|
"\x1D\x84\x28\xEC\x21\x0E\x22\x33\x39\x84\x60\xE6\x9D\x84\x38\xED\x93\x2B\x2B\x2C"
|
||||||
"\xDA\x4C\x87\x10\xD3\x61\x59\x51\x0D\x23\x51\x33\x69\x13\xBB\xA1\xA6\xAB\xB6\x46"
|
"\x39\x84\x4C\xAC\xAC\x84\x16\x43\x8A\xCA\xCA\xCE\x78\x87\x88\xD4\x09\x73\x01\x6E"
|
||||||
"\xD2\x65\x60\x83\x08\x10\x63\x15\x90\xE2\x1A\x6C\x04\x28\xC5\x65\x65\x44\x34\x10"
|
"\xE0\x28\x5C\x3D\x87\xE1\xE9\x5B\x41\x33\xF0\xFA\xF2\x3A\xD1\xF5\xE3\xD0\xEC\x04"
|
||||||
"\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xD9\xDA\x3E\xC6"
|
"\x9F\x10\xFB\x3C\xC1\x06\x70\x23\xE3\xE3\xE1\x1D\xD3\x07\x78\xF6\x8F\xEF\x09\x83"
|
||||||
"\x5F\xBC\x3F\x9F\x10\xFB\x3C\xC1\x06\x70\x23\xE3\xE3\xE1\x1D\xD3\x07\x78\xF6\x8F"
|
"\xE7\x4B\x10\x42\x66\x6F\xA8\x82\xDF\x53\xE7\xF3\xBA\x7D\x85\x96\x21\xF6\x75\x18"
|
||||||
"\xEF\x09\x83\xE7\x4B\x10\x42\x66\x6F\xA8\x82\xDF\x53\xE7\xF3\xBA\x7D\x85\x96\x21"
|
"\x3B\xC7\x83\xDC";
|
||||||
"\xF6\x75\x18\x3B\xC7\x83\xDC";
|
|
||||||
|
|
||||||
#define HTTP_HEADER1 Decompress(HTTP_HEADER1_COMPRESSED,HTTP_HEADER1_SIZE).c_str()
|
#define HTTP_HEADER1 Decompress(HTTP_HEADER1_COMPRESSED,HTTP_HEADER1_SIZE).c_str()
|
|
@ -3,7 +3,9 @@ const char HTTP_HEADER1[] PROGMEM =
|
||||||
"<head>"
|
"<head>"
|
||||||
"<meta charset='utf-8'>"
|
"<meta charset='utf-8'>"
|
||||||
"<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"
|
"<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"
|
||||||
|
#ifdef USE_WEB_FAVICON // No impact when using unishox as compressor ignore #if
|
||||||
"<link rel=\"icon\" href=\"data:image/x-icon;base64,base64,AAABAAEAEBACAAEAAQCwAAAAFgAAACgAAAAQAAAAIAAAAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP5/b+H6X2/h8k9v4eZnb+Hud2/h7ndv4e53b+FmZm/hMkxv4ZgZb+HOc2/h5+dv4fPPb+H5n2/h/D9v4f5/b+EAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4E\">"
|
"<link rel=\"icon\" href=\"data:image/x-icon;base64,base64,AAABAAEAEBACAAEAAQCwAAAAFgAAACgAAAAQAAAAIAAAAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP5/b+H6X2/h8k9v4eZnb+Hud2/h7ndv4e53b+FmZm/hMkxv4ZgZb+HOc2/h5+dv4fPPb+H5n2/h/D9v4f5/b+EAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4E\">"
|
||||||
|
#endif
|
||||||
"<title>%s - %s</title>"
|
"<title>%s - %s</title>"
|
||||||
|
|
||||||
"<script>"
|
"<script>"
|
||||||
|
|
|
@ -3,7 +3,9 @@ const char HTTP_HEADER1[] PROGMEM =
|
||||||
"<head>"
|
"<head>"
|
||||||
"<meta charset='utf-8'>"
|
"<meta charset='utf-8'>"
|
||||||
"<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"
|
"<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"
|
||||||
|
#ifdef USE_WEB_FAVICON // No impact when using unishox as compressor ignore #if
|
||||||
"<link rel=\"icon\" href=\"data:image/x-icon;base64,base64,base64,AAABAAEAEBACAAEAAQCwAAAAFgAAACgAAAAQAAAAIAAAAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP5/b+H6X2/h8k9v4eZnb+Hud2/h7ndv4e53b+FmZm/hMkxv4ZgZb+HOc2/h5+dv4fPPb+H5n2/h/D9v4f5/b+EAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4E\">"
|
"<link rel=\"icon\" href=\"data:image/x-icon;base64,base64,base64,AAABAAEAEBACAAEAAQCwAAAAFgAAACgAAAAQAAAAIAAAAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP5/b+H6X2/h8k9v4eZnb+Hud2/h7ndv4e53b+FmZm/hMkxv4ZgZb+HOc2/h5+dv4fPPb+H5n2/h/D9v4f5/b+EAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4EAADuBAAA7gQAAO4E\">"
|
||||||
|
#endif
|
||||||
"<title>%s - %s</title>"
|
"<title>%s - %s</title>"
|
||||||
|
|
||||||
"<script>"
|
"<script>"
|
||||||
|
|
Loading…
Reference in New Issue