Change vanilla favicon URLs to https.

This commit is contained in:
Scott Crunkleton
2019-02-20 01:15:54 -07:00
parent 4a8c59a3e6
commit ab7f35e6d9

View File

@@ -1345,7 +1345,7 @@ CM.Disp.CreateFavicon = function() {
CM.Disp.Favicon = document.createElement('link'); CM.Disp.Favicon = document.createElement('link');
CM.Disp.Favicon.id = 'CMFavicon'; CM.Disp.Favicon.id = 'CMFavicon';
CM.Disp.Favicon.rel = 'shortcut icon'; CM.Disp.Favicon.rel = 'shortcut icon';
CM.Disp.Favicon.href = 'http://orteil.dashnet.org/cookieclicker/favicon.ico'; CM.Disp.Favicon.href = 'https://orteil.dashnet.org/cookieclicker/favicon.ico';
document.getElementsByTagName('head')[0].appendChild(CM.Disp.Favicon); document.getElementsByTagName('head')[0].appendChild(CM.Disp.Favicon);
} }
@@ -1359,7 +1359,7 @@ CM.Disp.UpdateFavicon = function() {
} }
} }
else { else {
CM.Disp.Favicon.href = 'http://orteil.dashnet.org/cookieclicker/favicon.ico'; CM.Disp.Favicon.href = 'https://orteil.dashnet.org/cookieclicker/favicon.ico';
} }
} }