Files
FastapiAdmin/frontend/web/.env
T

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.0
# 开发服务器端口
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