From 7a07cc7bf7c3b4e5d2cf9b46d7761f5e0862bd85 Mon Sep 17 00:00:00 2001 From: rr- Date: Wed, 30 Mar 2016 16:06:51 +0200 Subject: [PATCH] front/general: add favicon --- scripts/build-frontend.js | 5 +++++ static/favicon.png | Bin 0 -> 1997 bytes static/html/index.htm | 7 ++++--- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 static/favicon.png diff --git a/scripts/build-frontend.js b/scripts/build-frontend.js index 092a3585..1efddf9f 100644 --- a/scripts/build-frontend.js +++ b/scripts/build-frontend.js @@ -95,8 +95,13 @@ function bundleConfig(config) { './static/js/.config.autogen.json', JSON.stringify(config)); } +function copyFile(source, target) { + fs.createReadStream(source).pipe(fs.createWriteStream(target)); +} + const config = getConfig(); bundleConfig(config); bundleHtml(config); bundleCss(); bundleJs(); +copyFile('static/favicon.png', 'public/favicon.png'); diff --git a/static/favicon.png b/static/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..22ce39209fc8d8a9c7d4bf82e7649e0a703c6de4 GIT binary patch literal 1997 zcmbVNYg7|w8XmM4*S1@?c3X9~bc}AR)m$b_hGZnrWRgf)qA5g;Ra-+ckQ9;$$zTF4 zvVs2?qokA{hsz zdQ~c(h^sVN8GU#R08CHODU_sAmVl}WJwp|iVOaG>3Jm};aaN;BoraTOGM=h4@M+^6 z9vZ0A@M&u}GM3DU;aXjMwh2$lUZGHDr>S`wT3jp`V?`+fJx;1Xt3KUeMy-6>eO{DW zhmV;w@V*F{#-~jhrIg7*j4|rvmgjW5C#Nu5CmEZvRM$D$)W~AhhUV0pzLVy z!9%08nKUVAqDb;U7q#Qlv?OUnnM{kt!mva!2vaH(;_-N44mO)kNzlz%22y3E8_Wx) z7(}>PZPFP@9bo{&jH+ZJljPGVODA2>8)dSG#0K+&Kv5xMT2)3S#9%S?`mkU3rOjj_ z{;L^}lr}4}j5sq9HxrpAHIkr;syF`LUqU=DYRdU`2w)a0nZim9W>RHP<5PNdVZD=B!S7;G%!I2*!lWRG^r;GvYYCDtYY8KWB_ZIV zH9CWau$UKz(=+L<2si0A;TnmF(1Z8mi|QVw{}271#A^Ob%$Srh%y4o1rdXzqs0s`( zAC^9~dDuL-f$A6&)f#hxQ9b~ec2=IC5DSo`+e2Q2A(e`o;#;~p+Vn<)Nb~id7%MskK<72l&{!g<1Kvc6_7R2;MkT~IM&xg ztg$yY^oIuhMMMTXd;S(}_9y9`x4PRW+K-KTJ^9S|#?oF-Rl9NBu1moSSI%ClIndGH zcr?%IDB9MLZ?1eVt!Ynwe_7FyiLSQ0LGLmG48J8f-01Os=60|STZe)_VX!{Ia(+c|VBS6lzSwY_q4 zwtb7gzUX+O1dCcMlwg~kyW6p4#)(0%c!}uVnZS5wt5_^4ArHoK z_EzQPoT#p>-F~sJ$>G|4)wSm^mnqqqS-w&J0rV;s$C2AV^7yOwmgnsdMz30{RK~(@ zwUmvrBO|l)L>yPKX+r~Nsidax{8?9BQ|U-*qAfJ!yM5Z{s_XUauh>@*(8xEuDJ^cT zxVkUj|4mQZz23Ik;)=_jmg~Llc6-B3cZV&y+eD$J=R6Ykcf3zv=e`yqNxXO%NF=nXmc4ZG^n6eZ4` zS9oYK3X8wL{Bk-qdZkGP_)f`}cuA{QX9hvx8#HReDkN$oPsAl!O^+7g2Vt>Rozn#AB6M$UuZt?|n z@UiKI!pzV1td9a(SIxfh-o}559)E&2&W>^RHxBQB zivO|fMdsWi-y#Qrw4*6+fAz&HFP;2+1vmZc)V}}|A9pU2%$U(p5&Nd1;KR0^)1C(C W&W!ok(d7l<3sx##Av!GFSnz+z4m>{q literal 0 HcmV?d00001 diff --git a/static/html/index.htm b/static/html/index.htm index 7ea13ff2..2dbceab5 100644 --- a/static/html/index.htm +++ b/static/html/index.htm @@ -3,9 +3,10 @@ <!-- change via config.ini --> - - - + + + +