From 6a9f6c5d2d3e041d5749d1f1a7c8f604cf6cc5f0 Mon Sep 17 00:00:00 2001 From: 罗广辉 <guanghui.luo@foxmail.com> Date: Thu, 03 Apr 2025 14:42:23 +0800 Subject: [PATCH] feat: ws地址 --- .env.development | 2 ++ .env.production | 2 ++ .env.test | 3 ++- 3 files changed, 6 insertions(+), 1 deletions(-) diff --git a/.env.development b/.env.development index d23312e..e59d6d9 100644 --- a/.env.development +++ b/.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 diff --git a/.env.production b/.env.production index f641060..4a0e953 100644 --- a/.env.production +++ b/.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 diff --git a/.env.test b/.env.test index 04a567e..a429d58 100644 --- a/.env.test +++ b/.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 -- Gitblit v1.9.3