Forgot to change the look of controller

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-11 15:29:24 +02:00
parent e2e50d023e
commit ae5f42f594
2 changed files with 1 additions and 2 deletions

View File

@@ -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);