From 2dfc8dc4bcd3d3cd4aed1b6054e073e140eba9c8 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 19 May 2025 16:05:50 +0800
Subject: [PATCH] Merge branch 'master' into jiangwu
---
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