Skip to content

Commit a5353dd

Browse files
committed
Fixed bug on web socket connection causing plugin stuck on Firefox and Edge
1 parent ac84ef6 commit a5353dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/socket-daemon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export default class SocketDaemon extends Daemon {
173173
* Uses the websocket protocol to connect to the agent
174174
*/
175175
_wsConnect() {
176-
const wsProtocol = this.selectedProtocol === PROTOCOL.HTTPS ? 'ws' : 'wss';
176+
const wsProtocol = this.selectedProtocol === PROTOCOL.HTTPS ? 'wss' : 'ws';
177177
const address = this.agentInfo[wsProtocol];
178178
this.socket = io(address, { reconnection: false, forceNew: true });
179179

0 commit comments

Comments
 (0)