Skip to content

Commit 69a1699

Browse files
committed
222
1 parent 21d4bbd commit 69a1699

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

OpenFlowNodeRED/src/WebSocketClient.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ export class WebSocketClient {
5353
this._socketObject = null;
5454
}
5555
if (this._socketObject === null) {
56-
this._socketObject = new WebSocket(this._url, {
56+
var options: any = {
5757
rejectUnauthorized: false,
5858
strictSSL: false
59-
});
59+
};
60+
this._socketObject = new WebSocket(this._url, options);
6061
this._socketObject.onopen = (this.onopen).bind(this);
6162
this._socketObject.onmessage = (this.onmessage).bind(this);
6263
this._socketObject.onclose = (this.onclose).bind(this);

0 commit comments

Comments
 (0)