HolyKnightIX 1 rok temu
rodzic
commit
eb625e705b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/views/realTimeChat/realTimeChat.vue

+ 1
- 1
src/views/realTimeChat/realTimeChat.vue Wyświetl plik

@@ -132,7 +132,7 @@ export default {
socketOnLink() {
// const url = "wss://mtest.metavatar.cc/webrtc";
const url = document.location.host;
this.socket = new WebSocket(url);
this.socket = new WebSocket("wss://" + url + "/webrtc");

this.socket.onopen = (success) => {
console.log(success, "连接成功!");


Ładowanie…
Anuluj
Zapisz