From 657047793dd327de6013f79cd10175653daf5083 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Tue, 7 Oct 2025 21:35:07 +0800 Subject: [PATCH] fix --- src/shared/composables/websocket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/composables/websocket.ts b/src/shared/composables/websocket.ts index dedea03..7044c2b 100644 --- a/src/shared/composables/websocket.ts +++ b/src/shared/composables/websocket.ts @@ -62,7 +62,7 @@ export class BaseWebSocket { public status: Ref = ref("disconnected") constructor(config: WebSocketConfig) { - this.url = `${import.meta.env.PUBLIC_WS_UR}/${config.path}/` + this.url = `${import.meta.env.PUBLIC_WS_URL}/${config.path}/` this.maxReconnectAttempts = config.maxReconnectAttempts ?? 5 this.reconnectDelay = config.reconnectDelay ?? 1000