mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
scaling: include padId in socketio query string
This commit is contained in:
parent
0e854a5892
commit
2b98b930d7
3 changed files with 10 additions and 2 deletions
|
@ -52,7 +52,7 @@ const init = () => {
|
|||
Cookies.set('token', token, {expires: 60});
|
||||
}
|
||||
|
||||
socket = socketio.connect(exports.baseURL);
|
||||
socket = socketio.connect(exports.baseURL, '/', {query: {padId}});
|
||||
|
||||
// send the ready message once we're connected
|
||||
socket.on('connect', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue