We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21d4bbd commit 69a1699Copy full SHA for 69a1699
1 file changed
OpenFlowNodeRED/src/WebSocketClient.ts
@@ -53,10 +53,11 @@ export class WebSocketClient {
53
this._socketObject = null;
54
}
55
if (this._socketObject === null) {
56
- this._socketObject = new WebSocket(this._url, {
+ var options: any = {
57
rejectUnauthorized: false,
58
strictSSL: false
59
- });
+ };
60
+ this._socketObject = new WebSocket(this._url, options);
61
this._socketObject.onopen = (this.onopen).bind(this);
62
this._socketObject.onmessage = (this.onmessage).bind(this);
63
this._socketObject.onclose = (this.onclose).bind(this);
0 commit comments