From 0a2f0fe7f23a1b3ffa8dedf18694f2e5924a9880 Mon Sep 17 00:00:00 2001 From: nerix Date: Thu, 22 Oct 2020 17:09:44 +0200 Subject: fix(cli/rt/websockets): Only add Sec-WebSocket-Protocol if it's not empty (#7936) --- cli/rt/27_websocket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/rt') diff --git a/cli/rt/27_websocket.js b/cli/rt/27_websocket.js index 76070ebee..98d3a21e6 100644 --- a/cli/rt/27_websocket.js +++ b/cli/rt/27_websocket.js @@ -48,7 +48,7 @@ core.jsonOpAsync("op_ws_create", { url: wsURL.href, - protocols: protocols.join("; "), + protocols: protocols.join(", "), }).then((create) => { if (create.success) { this.#rid = create.rid; -- cgit v1.2.3