From fbe00c695aa8bd2aeaa395ea8a4f710f99d651d6 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 20 Dec 2025 11:38:29 +0800
Subject: [PATCH] feat: 批次id
---
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..4ea2a2e 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://aisky.org.cn/drone-wss/api/v1/ws'
}
export default {
--
Gitblit v1.9.3