summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/static/js/timeslider.js2
1 files changed, 1 insertions, 1 deletions
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});