From fac27acb9b453cfe9f66fdc4ef510d0c615d1e8f Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 15 Nov 2025 18:33:57 +0800
Subject: [PATCH] feat: 配置环境变量

---
 src/config/env.js |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/config/env.js b/src/config/env.js
index 714289d..3de6b92 100644
--- a/src/config/env.js
+++ b/src/config/env.js
@@ -1,5 +1,4 @@
-
-// 不同的环境变量配置
+// 如果是打包app,需要改这里,h5不需要改这里
 const development = {
   VITE_APP_ENV:'development',
   // 开发环境这里改为自己的
@@ -15,11 +14,10 @@
   VITE_API_BASE_URL: 'https://wrj.shuixiongit.com/api',
 }
 
-// app打包要改这里
 const production = {
   VITE_APP_ENV:'production',
-  VITE_APP_WEBVIEW_URL: 'https://wrj.shuixiongit.com/drone-app-web-view/#/webViewWrapper',
-  VITE_API_BASE_URL: 'https://wrj.shuixiongit.com/api',
+  VITE_APP_WEBVIEW_URL: 'https://aisky.org.cn/drone-app-web-view/#/webViewWrapper',
+  VITE_API_BASE_URL: 'https://aisky.org.cn/api',
 }
 
 export default {

--
Gitblit v1.9.3