don't pass uri to engine.io for connection

It thinks that is for something different.
This commit is contained in:
Roman Shtylman
2013-11-21 21:06:47 -05:00
parent 9db2bc5202
commit 91ec28a2ee

View File

@@ -21,9 +21,8 @@ var user_counter = new flipCounter('user-count', {
auto: false auto: false
}); });
var socket = eio('/'); var socket = eio();
socket.on('open', function () { socket.on('open', function () {});
});
socket.on('message', function (data) { socket.on('message', function (data) {
var msg = JSON.parse(data); var msg = JSON.parse(data);