forked from drone/command-center-dashboard

罗广辉
2025-04-03 6a9f6c5d2d3e041d5749d1f1a7c8f604cf6cc5f0
feat: ws地址
3 files modified
7 ■■■■ changed files
.env.development 2 ●●●●● patch | view | raw | blame | history
.env.production 2 ●●●●● patch | view | raw | blame | history
.env.test 3 ●●●● patch | view | raw | blame | history
.env.development
@@ -5,4 +5,6 @@
#开发环境代理地址(推荐本地新建文件 .env.development.local 来进行覆盖)
# VITE_APP_API_URL = https://wrj.shuixiongit.com/api
# VITE_APP_API_URL = http://192.168.1.7
# ws地址
VITE_APP_WS_API_URL = wss://wrj.shuixiongit.com/drone-wss/api/v1/ws
.env.production
@@ -3,3 +3,5 @@
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip
# ws地址
VITE_APP_WS_API_URL = wss://wrj.shuixiongit.com/drone-wss/api/v1/ws
.env.test
@@ -1,4 +1,5 @@
#测试环境配置
VITE_APP_ENV = 'test'
# ws地址
VITE_APP_WS_API_URL = wss://wrj.shuixiongit.com/drone-wss/api/v1/ws