mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Update channel.js
This commit is contained in:
committed by
GitHub
parent
0b3357e752
commit
702c585bb8
@@ -177,7 +177,7 @@ var Channel = {
|
|||||||
|
|
||||||
if(socket === undefined){
|
if(socket === undefined){
|
||||||
no_socket = false;
|
no_socket = false;
|
||||||
socket = io.connect(''+add+':8080', connection_options);
|
socket = io.connect(''+add, connection_options);
|
||||||
socket.on('update_required', function(msg) {
|
socket.on('update_required', function(msg) {
|
||||||
if(window.location.hostname == "localhost") {
|
if(window.location.hostname == "localhost") {
|
||||||
console.error(msg);
|
console.error(msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user