mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
Update to timeslider to include base path for easier proxying
This commit is contained in:
parent
73d6030762
commit
3649118194
1 changed files with 4 additions and 2 deletions
|
@ -61,8 +61,10 @@ function init() {
|
||||||
//find out in which subfolder we are
|
//find out in which subfolder we are
|
||||||
var resource = exports.baseURL.substring(1) + 'socket.io';
|
var resource = exports.baseURL.substring(1) + 'socket.io';
|
||||||
|
|
||||||
|
console.log(exports.baseURL);
|
||||||
|
|
||||||
//build up the socket io connection
|
//build up the socket io connection
|
||||||
socket = io.connect(url, {resource: resource});
|
socket = io.connect(url, {path: exports.baseURL + 'socket.io', resource: resource});
|
||||||
|
|
||||||
//send the ready message once we're connected
|
//send the ready message once we're connected
|
||||||
socket.on('connect', function()
|
socket.on('connect', function()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue