From d02fb3ac5c24a8748712d17ba9b172a08156f781 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 6 Sep 2023 21:37:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20websocket=E5=9F=BA=E7=A1=80url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/websocket/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/src/websocket/index.js b/core/frontend/src/websocket/index.js index b651bd963f..4aeb32fbe8 100644 --- a/core/frontend/src/websocket/index.js +++ b/core/frontend/src/websocket/index.js @@ -4,7 +4,7 @@ import Stomp from 'stompjs' import store from '@/store' class DeWebsocket { constructor() { - this.ws_url = '/websocket' + this.ws_url = `${process.env.VUE_APP_BASE_API}websocket` this.client = null this.channels = [ {