Files
iot-device-management-frontend/apps/web-antd/.env.development
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

29 lines
849 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.

# 端口号IoT 平台,与业务平台 5666 错开)
VITE_PORT=5667
VITE_BASE=/
# 请求路径
VITE_BASE_URL=http://127.0.0.1:48080
# 接口地址
VITE_GLOB_API_URL=/admin-api
# 文件上传类型server - 后端上传, client - 前端直连上传仅支持S3服务
VITE_UPLOAD_TYPE=server
# 是否打开 devtoolstrue 为打开false 为关闭
VITE_DEVTOOLS=false
# 是否注入全局loading
VITE_INJECT_APP_LOADING=true
# 默认登录用户名
VITE_APP_DEFAULT_USERNAME=admin
# 默认登录密码
VITE_APP_DEFAULT_PASSWORD=admin123
# 业务平台前端地址(用于 IoT -> 业务平台 SSO 跳转)
VITE_BIZ_BASE_URL=http://127.0.0.1:5666
# WVP 视频平台内置账号(仅本地开发默认值;生产必须通过 .env.production 覆盖)
VITE_WVP_USERNAME=admin
VITE_WVP_PASSWORD_MD5=21232f297a57a5a743894a0e4a801fc3