From 0f0018350ce6c97521e4d8a234ec28fee2c50250 Mon Sep 17 00:00:00 2001 From: jaulz Date: Sun, 14 Jun 2020 12:44:34 +0200 Subject: [PATCH] fix: add favicon to rel --- src/favicon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/favicon.ts b/src/favicon.ts index 0ea4cb3..2c5a3fe 100644 --- a/src/favicon.ts +++ b/src/favicon.ts @@ -141,7 +141,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)