From 14880c6f06b181f25b3713522f24e90551b9c83a Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Thu, 25 Jul 2024 18:13:26 +0700 Subject: [PATCH] Disable Websocket compression by default --- server/server/src/starter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server/src/starter.ts b/server/server/src/starter.ts index 8d87611c7f..0faabb2051 100644 --- a/server/server/src/starter.ts +++ b/server/server/src/starter.ts @@ -18,7 +18,7 @@ export interface ServerEnv { export function serverConfigFromEnv (): ServerEnv { const serverPort = parseInt(process.env.SERVER_PORT ?? '3333') - const enableCompression = (process.env.ENABLE_COMPRESSION ?? 'true') === 'true' + const enableCompression = (process.env.ENABLE_COMPRESSION ?? 'false') === 'true' const url = process.env.MONGO_URL if (url === undefined) {