adjust compression fallback
This commit is contained in:
parent
aa6bc9c9d0
commit
c08c8502e3
2 changed files with 2 additions and 2 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue