diff --git a/static/js/admin.js b/static/js/admin.js index b99bd90e..49e06540 100755 --- a/static/js/admin.js +++ b/static/js/admin.js @@ -77,7 +77,6 @@ $('input[class=conf]').change(function() function pass_save() { - socket.emit('password', [CryptoJS.SHA256(document.getElementById("password").value).toString(), chan.toLowerCase(), guid]); } diff --git a/static/js/hostcontroller.js b/static/js/hostcontroller.js index ab9b22af..324dbb65 100755 --- a/static/js/hostcontroller.js +++ b/static/js/hostcontroller.js @@ -4,7 +4,7 @@ var id socket.on("id", function(id) { console.log("Unique remote control ID: " + id); - var codeURL = "http://"+window.location.hostname+"/remote/"+id; + var codeURL = "https://"+window.location.hostname+"/remote/"+id; $("#code-text").text(id.toUpperCase()) $("#code-qr").attr("src", "https://chart.googleapis.com/chart?chs=221x221&cht=qr&choe=UTF-8&chld=L|1&chl="+codeURL); $("#code-link").attr("href", codeURL);