liming 4 天之前
父节点
当前提交
5409badaeb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/stores/modules/webSocketStore.js

+ 1 - 1
src/stores/modules/webSocketStore.js

@@ -142,7 +142,7 @@ export const useWebSocketStore = defineStore("webSocketStore", {
 
       this.peer = new RTCPeerConnection();
       this.socket = new WebSocket(
-        `ws://nim.angeltokens.io/api/v1/socket.io?user=${userUuid}`
+        `wss://nim.angeltokens.io/api/v1/socket.io?user=${userUuid}`
       );
       // 连接成功
       this.socket.onopen = () => {