Disable Websocket compression by default

This commit is contained in:
Andrey Sobolev 2024-07-25 18:13:26 +07:00
parent e770bf19e3
commit 14880c6f06
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) {