Skip to content

Commit 03cfc2d

Browse files
authored
fix: add favicon to rel
2 parents f8c1a71 + 0d51139 commit 03cfc2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/favicon.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const setFavicon = (url: string) => {
131131
const newFavicon = document.createElement('link')
132132
newFavicon.id = 'badgin'
133133
newFavicon.type = 'image/x-icon'
134-
newFavicon.rel = 'icon'
134+
newFavicon.rel = 'icon favicon'
135135
newFavicon.href = url
136136

137137
document.getElementsByTagName('head')[0].appendChild(newFavicon)

0 commit comments

Comments
 (0)