Skip to content

Commit

Permalink
restore compat with socket.io v2 client
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Carlson authored and bewest committed Oct 22, 2023
1 parent b166afc commit 40dc7b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/server/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ function init (env, ctx, server) {
'log level': 0
}).listen(server, {
//these only effect the socket.io.js file that is sent to the client, but better than nothing
'browser client minification': true
// compat with v2 client
allowEIO3: true
, 'browser client minification': true
, 'browser client etag': true
, 'browser client gzip': false
, 'perMessageDeflate': {
Expand Down

0 comments on commit 40dc7b0

Please sign in to comment.