HolyKnightIX před 1 rokem
rodič
revize
eb625e705b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      src/views/realTimeChat/realTimeChat.vue

+ 1
- 1
src/views/realTimeChat/realTimeChat.vue Zobrazit soubor

@@ -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, "连接成功!");


Načítá se…
Zrušit
Uložit