浏览代码

websocket ww => wws

王涛 3 年之前
父节点
当前提交
560e1a8414
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {