This is an automated email from the ASF dual-hosted git repository.

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 11c05c56a fix ws:xxx fail (#2985)
11c05c56a is described below

commit 11c05c56a5276793fa79498604ea3c3e21adf1fb
Author: blackCat <[email protected]>
AuthorDate: Mon Aug 28 13:32:11 2023 +0800

    fix ws:xxx fail (#2985)
    
    * fix ws:xxx fail
---
 .../src/layouts/default/header/components/notify/index.vue             | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/streampark-console/streampark-console-webapp/src/layouts/default/header/components/notify/index.vue
 
b/streampark-console/streampark-console-webapp/src/layouts/default/header/components/notify/index.vue
index b2bea1b87..f6c1c054b 100644
--- 
a/streampark-console/streampark-console-webapp/src/layouts/default/header/components/notify/index.vue
+++ 
b/streampark-console/streampark-console-webapp/src/layouts/default/header/components/notify/index.vue
@@ -137,8 +137,9 @@
           listData.value[1].list = [...data];
         }
       }
+      
       const wbSocketUrl = `${window.location.origin}${
-        import.meta.env.VITE_GLOB_API_URL
+        import.meta.env.VITE_GLOB_API_URL + 
(import.meta.env.VITE_GLOB_API_URL_PREFIX || '')
       }/websocket/${userStore.getUserInfo.userId}`;
 
       const { data } = useWebSocket(wbSocketUrl.replace(/http/, 'ws'), {

Reply via email to