From 44dd9c4eb8a2489c63a5eb53fd4254bbb3510e95 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 18 Jun 2026 09:14:57 +0800
Subject: [PATCH] Merge branch 'feature/v9.0/9.0.4'
---
src/config/env.js | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/config/env.js b/src/config/env.js
index 94e7913..4dfb595 100644
--- a/src/config/env.js
+++ b/src/config/env.js
@@ -11,15 +11,22 @@
// 如果是打包app,需要改这里,h5不需要改这里
const development = {
VITE_APP_ENV:'development',
- // 开发环境这里改为自己的
+
+ // 本地webview
+ // VITE_APP_WEBVIEW_URL: 'http://localhost:5175/drone-app-web-view/#/webViewWrapper',
+
+ // 测试环境
VITE_APP_WEBVIEW_URL: 'https://wrj.shuixiongit.com/drone-app-web-view/#/webViewWrapper',
- // 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',
+ // 生产环境
+ // 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://aisky.org.cn/drone-wss/api/v1/ws',
+
// 静态资源存放地址'
- VITE_APP_ASSETS_URL: 'https://wrj.shuixiongit.com/drone-app/assets/static'
+ VITE_APP_ASSETS_URL: 'https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_app_assets'
}
const test = {
@@ -28,7 +35,7 @@
VITE_API_BASE_URL: 'https://wrj.shuixiongit.com/api',
VITE_APP_WS_API_URL: 'wss://wrj.shuixiongit.com/drone-wss/api/v1/ws',
// 静态资源存放地址'
- VITE_APP_ASSETS_URL: 'https://wrj.shuixiongit.com/drone-app/assets/static'
+ VITE_APP_ASSETS_URL: 'https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_app_assets'
}
const production = {
@@ -37,7 +44,7 @@
VITE_API_BASE_URL: 'https://aisky.org.cn/api',
VITE_APP_WS_API_URL: 'wss://aisky.org.cn/drone-wss/api/v1/ws',
// 静态资源存放地址'
- VITE_APP_ASSETS_URL: 'https://wrj.shuixiongit.com/drone-app/assets/static'
+ VITE_APP_ASSETS_URL: 'https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_app_assets'
}
export default {
--
Gitblit v1.9.3