v1.18.x
Julian Lam 11 years ago
parent f00f7c8818
commit 6fb393de78

@ -29,7 +29,7 @@ var socket,
socket = io.connect('', {
'max reconnection attempts': max_reconnection_attemps,
'reconnection delay': reconnection_delay,
resource: RELATIVE_PATH.slice(1) + '/socket.io'
resource: RELATIVE_PATH.length ? RELATIVE_PATH.slice(1) + '/socket.io' : 'socket.io'
});
var reconnecting = false,

Loading…
Cancel
Save