closed #375 - now asking socket.io to connect to "current page" instead of hardcoded url, removed api_url and "socket" section from public config

This commit is contained in:
Julian Lam
2013-10-03 11:34:15 -04:00
parent f173a79a0d
commit 948949c571
3 changed files with 6 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ var socket,
socket.socket.connect();
}, 200);
} else {
socket = io.connect(config.socket.address);
socket = io.connect(RELATIVE_PATH);
var reconnecting = false,
reconnectEl, reconnectTimer;