mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
fixing #1177
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user