From 9e2ba5f4a6534fe23f00c838ce99a1612d83e715 Mon Sep 17 00:00:00 2001 From: Boris Kubiak Date: Tue, 13 Feb 2018 08:24:59 +0100 Subject: [PATCH] Fix favicon issues --- index.html | 1 - src/App.vue | 10 ++++++++++ src/assets/images/favicon.ico | Bin 0 -> 15086 bytes src/assets/images/favicon.png | Bin 17632 -> 0 bytes webpack.config.js | 2 +- 5 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 src/assets/images/favicon.ico delete mode 100644 src/assets/images/favicon.png diff --git a/index.html b/index.html index cb8d7e6..0cc6049 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,6 @@ Vanity ETH - diff --git a/src/App.vue b/src/App.vue index 61d88ac..bbc2701 100644 --- a/src/App.vue +++ b/src/App.vue @@ -199,9 +199,19 @@ this.threads = this.cores; } }, + addFavicon: function () { + const i = document.createElement('link'); + const icon = require('./assets/images/favicon.ico'); + + i.type = 'image/x-icon'; + i.rel = 'shortcut icon'; + i.href = icon; + document.head.appendChild(i); + }, }, created: function () { + this.addFavicon(); this.countCores(); this.initWorkers(); } diff --git a/src/assets/images/favicon.ico b/src/assets/images/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..d5780f14aeeb816f140d1d7d5fbdcda8dac3bde7 GIT binary patch literal 15086 zcmeI2TWl0n7{{j;EGV)BMXs_-fN(KlBPe3fqLQFdL8HVQ3Wf)b7bNn8s1#9%Mh%Kl zAw1{<5iil0$b(U|Tr?Un5K$WhaZwNnXjV}uP+Nch?i_kDJ+nKzJ6o#hM}C}hzH|Bh zbLPy<*_nD?g;(iSS9_!>Z_RMeyU6prRLU>+^1NO6dXcLBo-UrZga#vNLleswWcSkX4 zk*0F%KZO{V!mV&ifSV~Np%`l~{R0vA4QQU40?79?6l3kB{|>|*hp_YfEp>y6IDq!h zUxluBb7DcasLajaYk3-Y}2%CH3e~&iZ3Os=J(EoS@?K*~oFusH7?~9%-VCFbq zy0nAopN^iR4*iYzMDTdN#y0?>S~=HGS46CVphl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Is*}cYS-#`f^%7)d#%+z1&5b0{<|+jz-cxj;(AMHuC)%^7 zVW)-Gr0#9P_A8$T^)azk9t-_pAPfKP95O;)}B{y@J^jpggF`{H5P1AE~BNVBnA{dJ#R3DWi~Jm=>Zks8a@UvrfP z?OSVnq-6`}J}t}D|9GUZH#=n0a*d*ZI-@X&tEl0x+h$e0t7z0ksXzzwW!z zdk7A~I54KUGv{&)`F;@WKM3D)P@J{U9gHdeKB(?7&>FJ)@1Q&ao&af_20@#OLv`~( zdoR0xnzA%%UZlgURh13$sZM3JO@s7^V~_@o83nafAJe~-lwp|oMm95#@W*Hqvs^sL V^CqmyGIle9VJM8?%&4uge*r%D{viMW literal 0 HcmV?d00001 diff --git a/src/assets/images/favicon.png b/src/assets/images/favicon.png deleted file mode 100644 index f4e268499306ff94915e1f9d4d9ecbac64c0c08a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17632 zcmeHPYitzP6~12VB-nAw!z!pG>UM#aLdNsh_rzWsyf${i62~~fn230G=B_=kyR+ncr}DuO^BElEpS2&pIuv;l{R3ZqJ>jRi!IHqeAnlB((h6j0O%D5UP4oqf!% z*VH#ORV&?~BM#_4?m!x1jf3^4hcL zV{)u{g$h8$bp5XcY<+$v0E=qn_71Hhu!I+tNVOm-L0FxL#E>-rHFb%YAg+O$H3+-q zXszwy!C{+KmTGOwodG5gYk)m+^SU@(wr**=xNeQ;m27ps@|pyX03uKmtcgfCs`80i zTMCy)-}PbIW=)xBYiex^^?=rnK&!Pui9@Ti+DVBF$6DRqYS!s=ySclp9K$+jhNW3M z#d>*%gJ&3P`epN#qi;2FDa5z=o6_OXf3>zAO^fj~-QV9|-EXf};@vds^?GTBqdAU3 z7L+;=)r15URc9L@85}=U#kd^PWF>0VafP7LtJT_UdZ6qpy{ zs@B+tC`eOU)KhIAh(Wpys!DHMgpGY@CbNsJUe(%QE;|!|Lgqz*G&wX5j(%la@?b(9 z$4$RtxTQ2@q`C%?#y7;FpegZoMG5;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HXpFl9@E!&%qE_nYN$&U}!@_SA^P;y~kv-;vz diff --git a/webpack.config.js b/webpack.config.js index 9482c4c..14cc968 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -35,7 +35,7 @@ module.exports = { exclude: /node_modules/ }, { - test: /\.(png|woff2)/, + test: /\.(png|woff2|ico)/, exclude: /node_modules/, loader: 'url-loader' }