From b51eac9bac8fc0e1a08c8673395704bd6f3d66a7 Mon Sep 17 00:00:00 2001 From: zch Date: Sun, 8 Jun 2025 13:52:51 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=88=87=E6=8D=A2=20WebSocket?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 WebSocket URL 从远程服务器切换回本地服务器 - 注释掉远程服务器地址,以便未来可能的切换 --- src/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 87cf1bc..a51f60a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -25,8 +25,8 @@ export default { return { // WebSocket相关 websocket: null, - // websocketUrl: 'ws://10.42.0.1:7181/ws', - websocketUrl: 'ws://119.45.202.115:7181/ws', + websocketUrl: 'ws://10.42.0.1:7181/ws', + // websocketUrl: 'ws://119.45.202.115:7181/ws', isWebSocketConnected: false, reconnectTimer: null, reconnectAttempts: 0,