From 4c86af02dc3eb57edd46c195a936dbd24f5ce0ff Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Tue, 8 Oct 2024 23:18:38 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8Dsocket=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/liveCall/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/liveCall/index.vue b/src/components/liveCall/index.vue index 9bc7e06..1605ba6 100644 --- a/src/components/liveCall/index.vue +++ b/src/components/liveCall/index.vue @@ -48,7 +48,7 @@ const scrollToBottom = (scrollbarRef) => { const setWsUrl = (url) => { - return (window.location.protocol === 'http:' ? "ws://" : "wss://") + window.location.host + import.meta.env.VITE_BASE_WSURL + url; + return (window.location.protocol === 'http:' ? "ws://" : "wss://") + window.location.host + import.meta.env.VITE_BASE_URL + url; } const handleLogout = () => { authStore.userLogout()