ccj 3 年之前
父节点
当前提交
377aadcab6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/notification.js

+ 1 - 1
src/notification.js

@@ -8,7 +8,7 @@ export default {
   // 初始化
   init (vue, sessionId) {
     this.vue = vue;
-    this.url = `${process.env.VUE_APP_BASE_API}/ws`
+    this.url = `${process.env.VUE_APP_BASE_API}/wss`
     this.sessionId = sessionId;
 
     this.sock = undefined;