Merge pull request #681 from fourplusone/fix/fix-677
fixed socket.io in timeslider.jspull/682/merge
commit
122986798e
|
@ -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});
|
||||||
|
|
Loading…
Reference in New Issue