Allow for shardable Etherpad
parent
6080de9d79
commit
45c1ad078b
|
@ -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 New Issue