Skip to content

Commit

Permalink
fix: add favicon to rel
Browse files Browse the repository at this point in the history
  • Loading branch information
jaulz committed Jun 14, 2020
2 parents f8c1a71 + 0d51139 commit 03cfc2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/favicon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const setFavicon = (url: string) => {
const newFavicon = document.createElement('link')
newFavicon.id = 'badgin'
newFavicon.type = 'image/x-icon'
newFavicon.rel = 'icon'
newFavicon.rel = 'icon favicon'
newFavicon.href = url

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

0 comments on commit 03cfc2d

Please sign in to comment.