diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index 13d7f19..ed906b5 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -176,7 +176,7 @@ export default { sessionStorage.setItem('userInfo', JSON.stringify(res.user)) this.$store.commit('setUserInfo', res.user) - let socketUrl = `wss://mediate.dev.trydotec.com/mediate/ws/websocket`; + let socketUrl = res.brokerEndpoint ? res.brokerEndpoint : `wss://mediate.dev.trydotec.com/mediate/ws/websocket`; this.$stompSocket.initStomp(socketUrl,a => this.socketSucc(a), b => this.socketErr(b)); if (res.user.resources.length > 0) { let url = "/workbench"; diff --git a/src/utils/tcccVoiceCall.js b/src/utils/tcccVoiceCall.js deleted file mode 100644 index a6a68d4..0000000 --- a/src/utils/tcccVoiceCall.js +++ /dev/null @@ -1 +0,0 @@ -import fetchApi from "@/services/fetchApi"; \ No newline at end of file