fix favico badge not working on chrome

This commit is contained in:
Henry Jameson 2021-06-02 12:15:31 +03:00 committed by Sam Therapy
parent 0645d06f91
commit 86ac773c56
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -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')
}