From 8a22c9bb675e14ebf2e5ba78e1a7b9cd101cccce Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 29 Apr 2025 10:44:02 +0800
Subject: [PATCH] 智飞工单审核详情显示

---
 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