mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed error with remote
This commit is contained in:
@@ -21,6 +21,7 @@ socket.on(chan.toLowerCase(), function(msg){
|
||||
|
||||
function channel_function(msg)
|
||||
{
|
||||
console.log(msg);
|
||||
if(msg[0] == "list")
|
||||
{
|
||||
full_playlist = msg[1];
|
||||
|
||||
@@ -4,7 +4,7 @@ var id;
|
||||
|
||||
$(document).ready(function (){
|
||||
setTimeout(function(){$("#code-input").focus();},500);
|
||||
socket = io.connect('https://'+window.location.hostname+':3000');
|
||||
socket = io.connect('//'+window.location.hostname+':3000');
|
||||
id = window.location.pathname.split("/")[2];
|
||||
if(id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user