From 12a3d773abc5c3868e896756f9660316d3b03789 Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 17 Jul 2011 16:03:35 +0100 Subject: [PATCH] Changed from ww/s to socket.io http/s --- index.php | 4 +++- js/gateway.js | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index e96e89d..3994fd0 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,7 @@ 0: $agent = "android"; $touchscreen = true; @@ -64,7 +66,7 @@ var agent = ''; var touchscreen = ; var init_data = {}; - var kiwi_server = 'wss://:7777/'; + var kiwi_server = ':7777/'; var touch_scroll; $(document).ready(function(){ diff --git a/js/gateway.js b/js/gateway.js index 585c207..46d6e51 100644 --- a/js/gateway.js +++ b/js/gateway.js @@ -21,7 +21,6 @@ var gateway = { gateway.socket.on('message', gateway.parse); gateway.socket.on('disconnect', function () { // Teardown procedure here - // TODO: Ask Ehm if teardown with socket.io is required $(gateway).trigger("ondisconnect", {}); }); }); -- 2.25.1