From 2d5f953d3fd52dcacc42d45f04c9b6a61ac33855 Mon Sep 17 00:00:00 2001 From: Yonle Date: Thu, 16 May 2024 19:32:53 +0700 Subject: [PATCH] http.js: fix perMessageDeflate websocket compression still enabled despite it's being disabled in config. Signed-off-by: Yonle --- http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.js b/http.js index cfba7cb..f5e916d 100644 --- a/http.js +++ b/http.js @@ -64,7 +64,7 @@ if ( const wss = new WebSocket.WebSocketServer({ noServer: true, - perMessageDeflate: config.perMessageDeflate || true + perMessageDeflate: config.perMessageDeflate || false }); const favicon = fs.existsSync(config.favicon) ? fs.readFileSync(config.favicon) : null;