diff --git a/src/websocket.js b/src/websocket.js index 4050bbff0d..92b730bed0 100644 --- a/src/websocket.js +++ b/src/websocket.js @@ -22,7 +22,9 @@ class WebSocket { this.wsServer = new WebSocketServer({ httpServer: this.server, - autoAcceptConnections: false + autoAcceptConnections: false, + maxReceivedFrameSize: 131072, + maxReceivedMessageSize: 10 * 1024 * 1024, }) this.wsServer.on('request', (request) => {