adjust compression fallback

This commit is contained in:
PrivateGER 2025-03-18 14:21:31 +01:00
parent aa6bc9c9d0
commit c08c8502e3
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ export class StreamingApiServerService {
public attach(server: http.Server): void {
this.#wss = new WebSocket.WebSocketServer({
noServer: true,
perMessageDeflate: this.config.websocketCompression ?? false,
perMessageDeflate: this.config.websocketCompression,
});
server.on('upgrade', async (request, socket, head) => {