From 91ec28a2eeddf3a075397c3eebfd81dcd3cb5424 Mon Sep 17 00:00:00 2001 From: Roman Shtylman Date: Thu, 21 Nov 2013 21:06:47 -0500 Subject: [PATCH] don't pass uri to engine.io for connection It thinks that is for something different. --- static/js/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/static/js/index.js b/static/js/index.js index 30ddb0d..64a81ed 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -21,9 +21,8 @@ var user_counter = new flipCounter('user-count', { auto: false }); -var socket = eio('/'); -socket.on('open', function () { -}); +var socket = eio(); +socket.on('open', function () {}); socket.on('message', function (data) { var msg = JSON.parse(data);