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