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

fixed socket.io in timeslider.js
This commit is contained in:
John McLear 2012-04-29 11:11:25 -07:00
commit 122986798e
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ function init() {
//create the url //create the url
var url = loc.protocol + "//" + loc.hostname + ":" + port + "/"; var url = loc.protocol + "//" + loc.hostname + ":" + port + "/";
//find out in which subfolder we are //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 //build up the socket io connection
socket = io.connect(url, {resource: resource}); socket = io.connect(url, {resource: resource});