Upgrade to socket.io v4

This commit is contained in:
Calvin Montgomery 2021-08-14 20:28:24 -07:00
parent 1b7e7c74f5
commit 7214b7c474
7 changed files with 148 additions and 285 deletions

View file

@ -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);