Explorar el Código

websocket ww => wws

王涛 hace 3 años
padre
commit
560e1a8414
Se han modificado 1 ficheros con 1 adiciones y 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) {