diff --git a/web/index.html b/web/index.html index c96378da..ad66252b 100644 --- a/web/index.html +++ b/web/index.html @@ -15,7 +15,7 @@ - + diff --git a/web/js/chat.js b/web/js/chat.js index 13ed1e00..60413673 100644 --- a/web/js/chat.js +++ b/web/js/chat.js @@ -1,7 +1,7 @@ var ip; $.ajax({ type: "GET", - url: "http://jsonip.appspot.com/?callback=?", + url: "//jsonip.appspot.com/?callback=?", dataType: "jsonp", success: function(getip) { ip = getip.ip; } }); diff --git a/web/js/minecraft.js b/web/js/minecraft.js index d7eb7cd4..b22da801 100644 --- a/web/js/minecraft.js +++ b/web/js/minecraft.js @@ -28,13 +28,13 @@ function createMinecraftHead(player,completed,failed) { completed(headCanvas); }; skinImage.onerror = function() { - if (skinImage.src == 'http://www.minecraft.net/img/char.png') { + if (skinImage.src == '//www.minecraft.net/img/char.png') { failed(); } else { - skinImage.src = 'http://www.minecraft.net/img/char.png'; + skinImage.src = '//www.minecraft.net/img/char.png'; } }; - skinImage.src = 'http://s3.amazonaws.com/MinecraftSkins/' + player + '.png'; + skinImage.src = '//s3.amazonaws.com/MinecraftSkins/' + player + '.png'; } function resizeImage(img,size) {