Add TLS to HTTP links

Please use HTTPS wherever it is supported.
It is just good practise, you know.

This follows up commit 98924bc12e.
This commit is contained in:
Valters Jansons
2018-02-25 12:31:36 +02:00
parent f32b1d5685
commit e59b69e3f2
4 changed files with 10 additions and 10 deletions

View File

@@ -153,7 +153,7 @@ CM.Disp.GetConfigDisplay = function(config) {
CM.Disp.AddJscolor = function() {
CM.Disp.Jscolor = document.createElement('script');
CM.Disp.Jscolor.type = 'text/javascript';
CM.Disp.Jscolor.setAttribute('src', 'http://aktanusa.github.io/CookieMonster/jscolor/jscolor.js');
CM.Disp.Jscolor.setAttribute('src', 'https://aktanusa.github.io/CookieMonster/jscolor/jscolor.js');
document.head.appendChild(CM.Disp.Jscolor);
}
@@ -751,10 +751,10 @@ CM.Disp.CreateFavicon = function() {
CM.Disp.UpdateFavicon = function() {
if (CM.Config.Favicon == 1 && CM.Disp.lastGoldenCookieState) {
if (CM.Disp.goldenShimmer.wrath) {
CM.Disp.Favicon.href = 'http://aktanusa.github.io/CookieMonster/favicon/wrathCookie.ico';
CM.Disp.Favicon.href = 'https://aktanusa.github.io/CookieMonster/favicon/wrathCookie.ico';
}
else {
CM.Disp.Favicon.href = 'http://aktanusa.github.io/CookieMonster/favicon/goldenCookie.ico';
CM.Disp.Favicon.href = 'https://aktanusa.github.io/CookieMonster/favicon/goldenCookie.ico';
}
}
else {