Files
iot-device-management-frontend/apps/web-antd/.env.production
lzh 05006cb5cf 配置: 品牌更名「物联运维平台」+ SSO/WVP 环境变量
- 四个 apps 的 VITE_APP_TITLE 改为「物联运维平台」
- web-antd 开发端口改为 5667,与业务平台 5666 错开
- web-antd 新增 VITE_APP_CLIENT_ID(OAuth2 客户端编号,后端按此过滤菜单)
- web-antd 新增 VITE_BIZ_BASE_URL(业务平台地址,用于 SSO 跳转;生产环境按实际域名覆盖)
- web-antd 新增 VITE_WVP_USERNAME / VITE_WVP_PASSWORD_MD5(WVP 凭据走 env,便于生产覆盖)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 11:40:02 +08:00

33 lines
878 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

VITE_BASE=/
# 请求路径
VITE_BASE_URL=http://127.0.0.1:48080
# 接口地址
VITE_GLOB_API_URL=http://127.0.0.1:48080/admin-api
# 文件上传类型server - 后端上传, client - 前端直连上传仅支持S3服务
VITE_UPLOAD_TYPE=server
# 是否开启压缩,可以设置为 none, brotli, gzip
VITE_COMPRESS=none
# 是否开启 PWA
VITE_PWA=false
# vue-router 的模式
VITE_ROUTER_HISTORY=hash
# 是否注入全局loading
VITE_INJECT_APP_LOADING=true
# 打包后是否生成dist.zip
VITE_ARCHIVER=true
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=true
# 业务平台前端地址SSO 跳转目标),生产部署时按实际域名修改
VITE_BIZ_BASE_URL=https://biz.example.com
# WVP 视频平台内置账号(生产必须按实际配置覆盖,不要沿用示例值)
VITE_WVP_USERNAME=admin
VITE_WVP_PASSWORD_MD5=21232f297a57a5a743894a0e4a801fc3