From cbb5a043b838cf15121601ae1d870b799b025220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Bartelme=C3=9F?= Date: Sun, 29 Apr 2012 20:04:00 +0200 Subject: [PATCH] fixed socket.io in timeslider.js --- src/static/js/timeslider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/timeslider.js b/src/static/js/timeslider.js index 6c91423b..3b7c7418 100644 --- a/src/static/js/timeslider.js +++ b/src/static/js/timeslider.js @@ -60,7 +60,7 @@ function init() { //create the url var url = loc.protocol + "//" + loc.hostname + ":" + port + "/"; //find out in which subfolder we are - var resource = exports.baseURL + 'socket.io'; + var resource = exports.baseURL.substring(1) + 'socket.io'; //build up the socket io connection socket = io.connect(url, {resource: resource});