fix favico badge not working on chrome

This commit is contained in:
Henry Jameson 2021-06-02 12:15:31 +03:00
parent 7bd18cda64
commit 008e711e11
1 changed files with 1 additions and 0 deletions

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