From fb75129703ddc2d4e034de52d3ad3bfb98e7ac2f Mon Sep 17 00:00:00 2001 From: taojinlong Date: Wed, 29 May 2024 10:43:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/websocket/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/websocket/index.ts b/core/core-frontend/src/websocket/index.ts index 18424c9609..10728ee861 100644 --- a/core/core-frontend/src/websocket/index.ts +++ b/core/core-frontend/src/websocket/index.ts @@ -33,7 +33,7 @@ export default { if (stompClient !== null && stompClient != undefined && stompClient.connected) { return } - const socket = new SockJS('http://localhost:8100/websocket?userId=' + wsCache.get('user.uid')) + const socket = new SockJS(prefix + 'websocket?userId=' + wsCache.get('user.uid')) stompClient = Stomp.over(socket) const heads = { userId: wsCache.get('user.uid')