ZaiZai 1 年之前
父节点
当前提交
ad747e8702
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/plugins/HcSocket.js

+ 1 - 1
src/plugins/HcSocket.js

@@ -30,7 +30,7 @@ class HcSocket {
         const { projectId, contractId, userId } = this.param
         const { projectId, contractId, userId } = this.param
         const { socket: socketUrl, clientId } = website
         const { socket: socketUrl, clientId } = website
 
 
-        const url = `${socketUrl}/blade-${clientId}/${projectId}/${contractId}/${userId}`
+        const url = `${socketUrl}/${clientId}/${projectId}/${contractId}/${userId}`
         this.socket = new WebSocket(url)
         this.socket = new WebSocket(url)
 
 
         this.socket.onopen = this.handleOpen.bind(this)
         this.socket.onopen = this.handleOpen.bind(this)