trying to fix https issue

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-11 14:56:57 +02:00
parent 690ccc1bc2
commit abdb3423fc
2 changed files with 16 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ $(document).ready(function (){
list_html = $("#channels").html();
$("#channels").empty();
var socket = io.connect('//'+window.location.hostname+':3000');
var socket = io.connect('https://'+window.location.hostname+':3000');
var playlists = [];
socket.emit('frontpage_lists');
socket.on('playlists', function(msg){