mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
use port 8880 for cloudflare compability maybe
This commit is contained in:
@@ -43,7 +43,7 @@ var connection_options = {
|
||||
'sync disconnect on unload':true
|
||||
};
|
||||
|
||||
var socket = io.connect('http://'+window.location.hostname+':3000', connection_options);
|
||||
var socket = io.connect('http://'+window.location.hostname+'8880', connection_options);
|
||||
socket.on("get_list", function(){
|
||||
socket.emit('list', chan.toLowerCase());
|
||||
});
|
||||
|
||||
@@ -106,7 +106,7 @@ $(document).ready(function (){
|
||||
window.list_html = list_html;
|
||||
$("#channels").empty();
|
||||
|
||||
var socket = io.connect('//'+window.location.hostname+':3000');
|
||||
var socket = io.connect('//'+window.location.hostname+'8880');
|
||||
socket.emit('frontpage_lists');
|
||||
socket.on('playlists', function(msg){
|
||||
Nochan.populate_channels(msg);
|
||||
|
||||
@@ -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+':3000');
|
||||
socket = io.connect('//'+window.location.hostname+'8880');
|
||||
id = window.location.pathname.split("/")[2];
|
||||
if(id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user