Files
vue3-element-admin/.env.development

37 lines
1.1 KiB
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.
# 应用端口
APP_PORT=3000
# 项目名称
VITE_APP_TITLE=vue3-element-admin
# 代理前缀(vite proxy 的匹配 key)
VITE_API_BASE=/dev-api
# 普通请求实例 baseURL(需与代理前缀一致,dev 下经 vite 代理转发到后端)
VITE_APP_BASE_API=/dev-api
# 接口地址(开发代理转发目标 = 真实后端主机名;前端路径自带 /api/v1,故此处只填主机名)
API_PROXY_TARGET=https://api.ttstd.com
# API_PROXY_TARGET=http://localhost:8000 # 本地
# 大文件上传直连地址(uploadHttp 使用,绕过 vite 代理,同样只填主机名)
VITE_APP_API_URL=https://api.ttstd.com
# VITE_APP_API_URL=http://localhost:8000 # 本地
# Mock 开关
VITE_MOCK_ENABLED=false
# 多租户开关
VITE_TENANT_ENABLED=false
# AI 开关
VITE_AI_ENABLED=false
# 统一认证登录开关
VITE_OIDC_ENABLED=false
VITE_API_TYPE = MYSQL # or POSTGRES
# 百度地图 JavaScript API v4.0 密钥(AK)
# 申请地址:https://lbsyun.baidu.com/apiconsole/key
# 注意:需在「应用管理-我的应用」中为该 AK 配置「浏览器端」白名单(Referer 域名/IP)
VITE_BAIDU_MAP_AK=DaKEjkzMRHg87GZgEJqAmxUxcBbJaYvS