mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Allow for shardable Etherpad
This commit is contained in:
parent
6080de9d79
commit
45c1ad078b
1 changed files with 3 additions and 1 deletions
|
@ -170,7 +170,9 @@ function handshake()
|
||||||
var resource = exports.baseURL.substring(1) + "socket.io";
|
var resource = exports.baseURL.substring(1) + "socket.io";
|
||||||
//connect
|
//connect
|
||||||
socket = pad.socket = io.connect(url, {
|
socket = pad.socket = io.connect(url, {
|
||||||
resource: resource,
|
// Allow deployers to host Etherpad on a non-root path
|
||||||
|
'path': exports.baseURL + "socket.io",
|
||||||
|
'resource': resource,
|
||||||
'max reconnection attempts': 3,
|
'max reconnection attempts': 3,
|
||||||
'sync disconnect on unload' : false
|
'sync disconnect on unload' : false
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue