@ -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,