From ae5f42f5946e8e42fe6594880e9382e46daf3d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Thu, 11 Jun 2015 15:29:24 +0200 Subject: [PATCH] Forgot to change the look of controller --- static/js/admin.js | 1 - static/js/hostcontroller.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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);