mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 08:01:02 -04:00
Fixed io is not a constructor.
This commit is contained in:
parent
3a5555b0ed
commit
403db74058
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ exports.connect = async (res = null) => {
|
|||
if (res) {
|
||||
padId = res.req.path.split('/p/')[1];
|
||||
}
|
||||
const socket = new io.Socket(`${exports.baseUrl}/`, {
|
||||
const socket = io(`${exports.baseUrl}/`, {
|
||||
forceNew: true, // Different tests will have different query parameters.
|
||||
path: '/socket.io',
|
||||
// socketio.js-client on node.js doesn't support cookies (see https://git.io/JU8u9), so the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue