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 = () => {