YY 2 năm trước cách đây
mục cha
commit
41519b338e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/layout/header/notice.vue

+ 2 - 2
src/layout/header/notice.vue

@@ -36,8 +36,8 @@ export default {
     async initWebSocket() {
       const shop_id = _.get(this.user, 'shop._id');
       // const url = `ws://192.168.1.197:12214/dev/point/chat/v1/api/ws`;
-      // const url = `ws://broadcast.waityou24.cn/dev/point/chat/v1/api/ws`;
-      const url = `ws://broadcast.waityou24.cn/point/chat/v1/api/ws`;
+      // const url = `wss://broadcast.waityou24.cn/dev/point/chat/v1/api/ws`;
+      const url = `wss://broadcast.waityou24.cn/point/chat/v1/api/ws`;
       const ws = new WS(url, shop_id, (res) => {
         if (res.data != 'connect success') this.onMessage(res.data);
       });