mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
using websocketAddress config if supplied
This commit is contained in:
@@ -100,7 +100,7 @@ var socket,
|
||||
ioParams.transports = ['xhr-polling'];
|
||||
}
|
||||
|
||||
socket = io.connect('', ioParams);
|
||||
socket = io.connect(config.websocketAddress, ioParams);
|
||||
reconnecting = false;
|
||||
|
||||
socket.on('event:connect', function (data) {
|
||||
|
||||
Reference in New Issue
Block a user