From e5c11edfa87f6f02b8335b771f6623384a4d2ffa Mon Sep 17 00:00:00 2001 From: yanghongwei <330334037@qq.com> Date: Tue, 24 Jun 2025 17:15:05 +0000 Subject: [PATCH] uploadUrl --- src/views/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/index.vue b/src/views/index.vue index f00e8c9..f97580c 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -62,7 +62,7 @@ export default { ? localhostPath : process.env.VUE_APP_API_URL; connection = new signalR.HubConnectionBuilder() - .withUrl("ws://114.66.57.139:5001" + "/websocket", { + .withUrl(uploadUrl + "/websocket", { skipNegotiation: true, transport: signalR.HttpTransportType.WebSockets })