Disable Websocket compression by default

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2024-07-25 18:13:26 +07:00
parent cc71829e6e
commit 2f1e6e56a2
No known key found for this signature in database
GPG Key ID: BD80F68D68D8F7F2

View File

@ -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) {