mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-08 11:12:01 +01:00
fixed socket.io path
This commit is contained in:
parent
7b9fd81284
commit
26ec4684b5
1 changed files with 2 additions and 2 deletions
|
@ -168,10 +168,10 @@ function handshake()
|
|||
//create the url
|
||||
var url = loc.protocol + "//" + loc.hostname + ":" + port + "/";
|
||||
//find out in which subfolder we are
|
||||
var resource = exports.baseURL.substring(1) + "socket.io";
|
||||
var path = exports.baseURL + "socket.io";
|
||||
//connect
|
||||
socket = pad.socket = io.connect(url, {
|
||||
resource: resource,
|
||||
path: path,
|
||||
'max reconnection attempts': 3,
|
||||
'sync disconnect on unload' : false
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue