HolyKnightIX pirms 1 gada
vecāks
revīzija
4b11b945aa
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +3
    -2
      src/views/realTimeChat/realTimeChat.vue

+ 3
- 2
src/views/realTimeChat/realTimeChat.vue Parādīt failu

@@ -130,8 +130,9 @@ export default {
},

socketOnLink() {
const url = document.location.host;
this.socket = new WebSocket("wss://" + url);
const url = "wss://mtest.metavatar.cc/webrtc";
// const url = document.location.host;
this.socket = new WebSocket(url);

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


Notiek ielāde…
Atcelt
Saglabāt