Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update socket.io and uuid packages #7793

Merged
merged 8 commits into from
Jan 1, 2023
Prev Previous commit
Next Next commit
Use polling with the NS client
  • Loading branch information
sulkaharo committed Dec 30, 2022
commit b8d381ee4df950f1bc17c6b9965a3373f70ef748
2 changes: 1 addition & 1 deletion lib/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ client.load = function load (serverSettings, callback) {
// Client-side code to connect to server and handle incoming data
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/* global io */
client.socket = socket = io.connect();
client.socket = socket = io({ transports: ["polling"] });

socket.on('dataUpdate', dataUpdate);

Expand Down