From 28179be2881f3a6af9975136c013b0f0ca2298df Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Wed, 19 Nov 2025 09:50:33 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/config/env.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/config/env.js b/src/config/env.js
index c931cd4..b9da4ec 100644
--- a/src/config/env.js
+++ b/src/config/env.js
@@ -1,5 +1,4 @@
-
-// 不同的环境变量配置
+// 如果是打包app,需要改这里,h5不需要改这里
const development = {
VITE_APP_ENV:'development',
// 开发环境这里改为自己的
@@ -7,18 +6,21 @@
VITE_APP_WEBVIEW_URL: 'http://localhost:5173/drone-app-web-view/#/webViewWrapper',
VITE_API_BASE_URL: 'https://wrj.shuixiongit.com/api',
// VITE_API_BASE_URL: 'https://aisky.org.cn/api',
+ VITE_APP_WS_API_URL:'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws'
}
const test = {
VITE_APP_ENV:'test',
VITE_APP_WEBVIEW_URL: 'https://wrj.shuixiongit.com/drone-app-web-view/#/webViewWrapper',
VITE_API_BASE_URL: 'https://wrj.shuixiongit.com/api',
+ VITE_APP_WS_API_URL:'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws'
}
const production = {
VITE_APP_ENV:'production',
VITE_APP_WEBVIEW_URL: 'https://aisky.org.cn/drone-app-web-view/#/webViewWrapper',
VITE_API_BASE_URL: 'https://aisky.org.cn/api',
+ VITE_APP_WS_API_URL:'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws'
}
export default {
--
Gitblit v1.9.3