浏览代码

upload

dev
HolyKnightIX 1年前
父节点
当前提交
4b379e5625
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/views/realTimeChat/realTimeChat.vue

+ 2
- 2
src/views/realTimeChat/realTimeChat.vue 查看文件

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


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


this.socket.onopen = (success) => { this.socket.onopen = (success) => {


正在加载...
取消
保存