summaryrefslogtreecommitdiff
path: root/cli/rt/27_websocket.js
diff options
context:
space:
mode:
authornerix <nero.9@hotmail.de>2020-10-22 17:09:44 +0200
committerGitHub <noreply@github.com>2020-10-22 17:09:44 +0200
commit0a2f0fe7f23a1b3ffa8dedf18694f2e5924a9880 (patch)
tree2878a4128e83eb0d60f4835186247957d3dd88a6 /cli/rt/27_websocket.js
parent4b43f8cffadf8ac5e9e258afaaa5887fc1975884 (diff)
fix(cli/rt/websockets): Only add Sec-WebSocket-Protocol if it's not empty (#7936)
Diffstat (limited to 'cli/rt/27_websocket.js')
-rw-r--r--cli/rt/27_websocket.js2
1 files changed, 1 insertions, 1 deletions
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;