Explorar o código

websocket ww => wws

王涛 %!s(int64=3) %!d(string=hai) anos
pai
achega
560e1a8414
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {