From 1d5c85679116884efecd7a33e053eb09e65d513b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Tue, 6 Feb 2018 00:36:46 +0100 Subject: [PATCH] Only check first magic byte on file upgrade from webUI --- code/espurna/data/index.html.gz | Bin 63840 -> 63831 bytes code/espurna/static/index.html.gz.h | 1260 +++++++++++++-------------- code/html/custom.js | 7 +- 3 files changed, 633 insertions(+), 634 deletions(-) diff --git a/code/espurna/data/index.html.gz b/code/espurna/data/index.html.gz index 4752fc9db3b457dc6271ddc53ce7d4154efdc510..ae283de0f9c150421861fd9ac235999e62456f8d 100644 GIT binary patch delta 4565 zcmV;`5i0KB@&niM1F%KNe`zW#u@e+s4?if&`9HmX_hNgyXz%^-18Jm4VDvTQ<1v7C zW`{+)hi+4N>Xi?W6lMe~KFpt!?wOb>p{rBum&FwJvPj!+jfu15Y@9i$42`?2_GVxw zu{yyv))oz7e7s14^NMK0;8hC;n%2aG6EXe>whARlY$t9(XVo zY1*12Ik4Kxn0S){&erfcjOXZnp+)}A(3q|T_hr8YSN}W)nnIV6FArPAP1?oaec~!D zn{HRfR2LPH^AyX8ZeFGHD7r$l#^qi5Qq9@A6-{sWK7VIp}NM-U!PMvS|N zUL(BkwddcPXpClPf1MJJmGJ4=SStGq)%(6-`wyRni-5ke2{6T2FcH2Jm3N`Q6fb$m ztH(H5JiPSKYm_$FS`UG!G~a=X;oCmn|M6+8^$`|0-LqRa@qCU{$|4x)e1;5A0{l&m zt9+7^YdyK5pGH5xu~w2C8bXzpFk$ts7VKL%tUz^cnI;30f0ocuw|oF=h0_q4X_Kd0 z*GGeoFEb-#Y(vjE6x>iO6PrG>k|Z$>C_Um|b-zQ7s@O9(1U?FmXhDSJ)9!l>SZtWL z(m{tH@>Td{fcH4K1EVq~>Flw9(_qMOwc}h@?5Vcsze9x;nZYbpg*z@)^(9+3gjtxU z7oS%pOU)#4VKSCV@=@L{wb8uvFO4O`68a8gU)rC!;r9YDcHggxdG_?d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