This commit is contained in:
Nicolas A. Tonne
2015-09-09 16:55:47 +02:00
parent c8515d9753
commit 4bfb7abcc1
6 changed files with 6 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ var connection_options = {
'sync disconnect on unload':true
};
var socket = io.connect('http://'+window.location.hostname+'8880', connection_options);
var socket = io.connect('http://'+window.location.hostname+':8880', connection_options);
socket.on("get_list", function(){
socket.emit('list', chan.toLowerCase());
});

View File

@@ -106,7 +106,7 @@ $(document).ready(function (){
window.list_html = list_html;
$("#channels").empty();
var socket = io.connect('//'+window.location.hostname+'8880');
var socket = io.connect('//'+window.location.hostname+':8880');
socket.emit('frontpage_lists');
socket.on('playlists', function(msg){
Nochan.populate_channels(msg);

View File

@@ -9,7 +9,7 @@ window.mobilecheck = function() {
$(document).ready(function (){
document.title = "Zöff Remote";
setTimeout(function(){$("#search").focus();},500);
socket = io.connect('//'+window.location.hostname+'8880');
socket = io.connect('//'+window.location.hostname+':8880');
id = window.location.pathname.split("/")[2];
if(id)
{