Prechádzať zdrojové kódy

websocket ww => wws

王涛 3 rokov pred
rodič
commit
560e1a8414
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/views/index.vue

+ 1 - 1
src/views/index.vue

@@ -246,7 +246,7 @@ export default {
       let arrData = [];
       let that = this
       //let wsUri = "wss://iot.usky.cn:55120";
-      let wsUri = "ws://10.21.39.1:8083/dm/alarmPush";
+      let wsUri = "wss://10.21.39.1:8083/dm/alarmPush";
       try {
               let websocket = new WebSocket(wsUri);
               websocket.onopen = function(evt) {