From df42fa7e97c4a93caa17b2aed5aecdc768d8bbd7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 15 Apr 2025 21:57:46 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/drone-web-manage

---
 src/websocket/util/config.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/websocket/util/config.js b/src/websocket/util/config.js
index 2329fa4..881e8be 100644
--- a/src/websocket/util/config.js
+++ b/src/websocket/util/config.js
@@ -14,6 +14,6 @@
 export function getWebsocketUrl() {
   const token = getToken();
   // const url = CURRENT_CONFIG.websocketURL
-  const url = 'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws?x-auth-token=' + encodeURI(token);
+  const url = `${import.meta.env.VITE_APP_AREA_NAME}/drone-wss/api/v1/ws?x-auth-token=${encodeURI(token)}`;
   return url;
 }

--
Gitblit v1.9.3