chore: turn off deflate
This commit is contained in:
parent
768506c26e
commit
cfeb9ddff5
|
@ -10,6 +10,7 @@ class SocketClient extends EventEmitter {
|
|||
this.socket = io(address, {
|
||||
parser: SocketIoParser,
|
||||
path: '/avocado',
|
||||
perMessageDeflate: false,
|
||||
});
|
||||
this.socket.on('connect', () => {
|
||||
this.emit('connect');
|
||||
|
|
|
@ -10,6 +10,7 @@ export class Server extends EventEmitter {
|
|||
this.io = new SocketServer(httpServer, {
|
||||
parser: SocketIoParser,
|
||||
path: '/avocado',
|
||||
perMessageDeflate: false,
|
||||
serveClient: false,
|
||||
});
|
||||
this.io.on('connect', (socket) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user