Skip to content

Commit

Permalink
Merge pull request #8127 from nightscout/wip/bewest/restore-v2
Browse files Browse the repository at this point in the history
socket.io: enable legacy v2 connections
  • Loading branch information
bewest authored Oct 22, 2023
2 parents cfe89c8 + 19be01d commit 73c8089
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 @@ -75,7 +75,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 73c8089

Please sign in to comment.