From 33ff06430087ed0d4ee3dd849dfc208764ec4b20 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 23 Sep 2024 21:48:04 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8Dsocket=E7=BA=BF?= =?UTF-8?q?=E4=B8=8A=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/liveCall/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/liveCall/index.vue b/src/components/liveCall/index.vue index 6d371e1..5b9ace5 100644 --- a/src/components/liveCall/index.vue +++ b/src/components/liveCall/index.vue @@ -108,8 +108,8 @@ const handleLogout = () => { const initWebSocket = () => { try { // const wsUrl=setWsUrl(`/ws/text/${token}`) - const wsUrl = `ws://frp.feashow.cn:31800/ws/text/${token}` - // const wsUrl = `ws://112.19.165.99:20002/ws/text/${token}` + // const wsUrl = `ws://frp.feashow.cn:31800/ws/text/${token}` + const wsUrl = `ws://112.19.165.99:20002/api/ws/text/${token}` socket = new WebSocket(wsUrl) // 2. ws.send()给服务器发送信息 //连接发生错误的回调方法