using websocketAddress config if supplied

This commit is contained in:
Julian Lam
2014-07-29 22:24:53 -04:00
parent fed8cc6d53
commit bb7a71389e
2 changed files with 2 additions and 1 deletions

View File

@@ -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) {