mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 04:06:37 +02:00
Merge pull request #681 from fourplusone/fix/fix-677
fixed socket.io in timeslider.js
This commit is contained in:
commit
122986798e
@ -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});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user