mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
Disable Websocket compression by default
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
cc71829e6e
commit
2f1e6e56a2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user