From df9864ec00fe9b4c7f4912a6122d1308f06fa844 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Fri, 31 May 2019 16:36:48 +0300 Subject: [PATCH] * client: replace favicon.ico with favicon.png --- client/public/favicon.ico | Bin 15086 -> 0 bytes client/public/favicon.png | Bin 0 -> 1296 bytes client/public/index.html | 2 +- client/public/install.html | 2 +- client/webpack.common.js | 2 +- helpers.go | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 client/public/favicon.ico create mode 100644 client/public/favicon.png diff --git a/client/public/favicon.ico b/client/public/favicon.ico deleted file mode 100644 index 07cb5eead34cdd95d17e3d3cf1dd387a98bdb978..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15086 zcmeHO2~ZYC7Je+7N~MfRT-U^$Y8lI*9%mA_5{oMLaMbc!Wga9TF3FbrBJfC=w(Dd%ri(IE?@N|NK9iY^rvuhVJQqdfxY5 zzxVp}>xRgV?CF_j2v=7M{5{b-TTc>Cy*8gU)N4vEl}7C#5wxE~z&@(+$fogn@2lH` z)2ZLoPw5u-mHh(?N$~Bxo#NE*YU_UMsrR%zs+E1U{rMZ7ITWq!$Ip|O(DR^Mq3&y{ ze?TEMx^E>1?Ki@+C`a3O;o(1vn8O_v?2-pA{rA!p=lOO|%WnX8A8p?``=1wg>i;di zzM1<#e?=B~G+Xu$&!${;|Czg=5!Y+Zi5s=win@lIV#oJU!XM+%3d0_%bew7T#E4nc z5i+Zn{bP2L_`YhVsI9*&=Inn#Bz^IY@{L6$|7g`e@Bj(O!8ss}Tx4G^mlpLB7b?=l z;v;Xhj9=21e-l-8XGP4BXIp*4XD6);-a>QL{kc9huW9VLuILZ2e|)mHIA4|3s=x0p z`Z6Nxv21OB^)vTpz5`G$Ea@v!&JPk8L#54kH&w;vJ$X$1zP2v=%WtUV2)%BI-~Dun zwvYN*-Cr$#Sr6ItL?7r*u6hg%^l$XdrxTO2$V=+LsCeoam`3BnGHD_1gZO4SzS#i! z{B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hftoT6?&_QNM_}s23T@wHSh+!$oR|6Igz9n6hZ10Q_C^p0 z29WV}_6Crs@Y4^V-El$^3O!F5BT(%pv~E# zg6MR2!R0hd1wcs*I8}eH-?bg?4!|BAuR9B66z0BuM@m#th+uP$ljnjik6i`PXm1J6 zQqOgl-2JVU%&@uoSBc4LMW;;F*?9U=wYVV7NMmxa8!2Gf&_5_h!e+y+|~ls z|JUbk#mj+YhEf3#lH~^aiX|=eD7MbhXjwYyz|mWv93RZ(p;p z1xqUqy%3u&?M2ab;Bfg}V8Y26M&$qJu3MQSMRpuc>aaUk=x02f6_jlnU_6LX=ub42 z7D<8c#DNfs zV+{geR!3Z&PB=E<5yEN-41=;teWEhqE?xZrN@Qmabyb3rm~XHe9H{#;L;&F~4sM4A zb!P~H>mGt7bP{!GjA$`Yg85BC-~)pQ&_GM{gGTkpkjPZ-dsIh_es#Kol19B^WRtH) zR7w*052|KI4Zsh3}-0D=pcmSkue;6$%;{ZCs{bId+VqK!r z+3z4kzyLQ|7i*(mHonoVZ8^OSAzZq>kW6PK9OE9ru>lL9r?)Kfg^_MzN~YILP$t}t zo`Vm7FH+=I5{LPahCSdQW%JMY?=%(wiOS$UCk4J=)E`0*xE zOxlHJqZgnH&P414FyTgY-4Fw4Pd`MyE+*4_K$R94sQ& - + AdGuard Home diff --git a/client/public/install.html b/client/public/install.html index 855c8008..2fd3bb7d 100644 --- a/client/public/install.html +++ b/client/public/install.html @@ -5,7 +5,7 @@ - + Setup AdGuard Home diff --git a/client/webpack.common.js b/client/webpack.common.js index bee1b975..350fca12 100644 --- a/client/webpack.common.js +++ b/client/webpack.common.js @@ -12,7 +12,7 @@ const ENTRY_REACT = path.resolve(RESOURCES_PATH, 'src/index.js'); const ENTRY_INSTALL = path.resolve(RESOURCES_PATH, 'src/install/index.js'); const HTML_PATH = path.resolve(RESOURCES_PATH, 'public/index.html'); const HTML_INSTALL_PATH = path.resolve(RESOURCES_PATH, 'public/install.html'); -const FAVICON_PATH = path.resolve(RESOURCES_PATH, 'public/favicon.ico'); +const FAVICON_PATH = path.resolve(RESOURCES_PATH, 'public/favicon.png'); const PUBLIC_PATH = path.resolve(__dirname, '../build/static'); diff --git a/helpers.go b/helpers.go index 4d4d0b3f..afd4e34b 100644 --- a/helpers.go +++ b/helpers.go @@ -143,7 +143,7 @@ func postInstall(handler func(http.ResponseWriter, *http.Request)) func(http.Res return func(w http.ResponseWriter, r *http.Request) { if config.firstRun && !strings.HasPrefix(r.URL.Path, "/install.") && - r.URL.Path != "/favicon.ico" { + r.URL.Path != "/favicon.png" { http.Redirect(w, r, "/install.html", http.StatusSeeOther) // should not be cacheable return }