We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60a157e + 14a915f commit 9f0e3d6Copy full SHA for 9f0e3d6
src/transports/websocket.js
@@ -23,9 +23,7 @@ class WebSocketTransport extends EventEmitter {
23
24
this.ws = new WebSocket(
25
`ws://127.0.0.1:${port}/?v=1&client_id=${this.client.clientId}`,
26
- {
27
- origin: this.client.options.origin,
28
- },
+ browser ? undefined : { origin: this.client.options.origin },
29
);
30
this.ws.onopen = this.onOpen.bind(this);
31
this.ws.onclose = this.onClose.bind(this);
0 commit comments