fixed socket.io in timeslider.js

This commit is contained in:
Matthias Bartelmeß 2012-04-29 20:04:00 +02:00
parent 0e941b498e
commit cbb5a043b8
1 changed files with 1 additions and 1 deletions

View File

@ -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});