Files
FastapiAdmin/frontend/web/.env
T
zhangtao bb1cb722ed chore: 添加登录计时日志并优化部署脚本
- 在登录服务中添加各步骤耗时统计日志
- 精简部署脚本,移除冗余输出与前端构建逻辑
- 更新生产环境默认监听地址为 0.0.0.0
- 延长前端请求超时时间至 120 秒
2026-05-12 20:23:33 +08:00

29 lines
726 B
Bash
Executable File
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_VERSION = 3.0.2
# 开发服务器端口
VITE_PORT = 5180
# 应用部署基础路径(如部署在子目录 /admin,则设置为 /admin/)
VITE_BASE_URL = /web
# 权限模式【 frontend 仅前端路由 / backend 仅后端菜单 / mixed 后端菜单+前端路由模块合并 】
VITE_ACCESS_MODE = mixed
# 跨域请求时是否携带 Cookie(开启前需确保后端支持)
VITE_WITH_CREDENTIALS = false
# 是否在控制台输出路由信息
VITE_OPEN_ROUTE_INFO = false
# 锁屏加密密钥
VITE_LOCK_ENCRYPT_KEY = s3cur3k3y4adpro
# 网络请求超时时间(毫秒)
VITE_API_TIMEOUT = 120000
# 代理前缀
VITE_APP_BASE_API = /api/v1