Permalink
Browse files

Merge pull request #681 from fourplusone/fix/fix-677

fixed socket.io in timeslider.js
  • Loading branch information...
JohnMcLear committed Apr 29, 2012
2 parents a73192b + cbb5a04 commit 122986798e47846ed5efb7ab5096eb488e68bcdd
Showing with 1 addition and 1 deletion.
  1. +1 −1 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});

0 comments on commit 1229867

Please sign in to comment.