|
@@ -661,7 +661,7 @@
|
|
|
// "&port=" + that.urlData.exPort + "&sn=" + that.urlData.sn;
|
|
|
var strhost = "ws://192.168.11.66:9101";
|
|
|
// var strhost="ws://"+that.urlData.exIp+":"+that.urlData.exPort
|
|
|
- var client = new WebSocket(strhost);
|
|
|
+ var client = new WebSocket(strhost.replace("ws","wss"));
|
|
|
console.log('wsssss==============', client)
|
|
|
|
|
|
client.binaryType = 'arraybuffer';
|