Upgrade to socket.io v4
This commit is contained in:
parent
1b7e7c74f5
commit
7214b7c474
7 changed files with 148 additions and 285 deletions
|
|
@ -1249,7 +1249,8 @@ function ioServerConnect(socketConfig) {
|
|||
}
|
||||
|
||||
var opts = {
|
||||
secure: chosenServer.secure
|
||||
secure: chosenServer.secure,
|
||||
withCredentials: true // enable cookies for auth
|
||||
};
|
||||
|
||||
window.socket = io(chosenServer.url, opts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue