fix favico badge not working on chrome
This commit is contained in:
parent
0645d06f91
commit
86ac773c56
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ const createFaviconService = () => {
|
|||
favcanvas.width = faviconWidth
|
||||
favcanvas.height = faviconHeight
|
||||
favimg = new Image()
|
||||
favimg.crossOrigin = 'anonymous'
|
||||
favimg.src = favicon.href
|
||||
favcontext = favcanvas.getContext('2d')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue