mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 04:46:26 +00:00
- 将前端API基础URL切换为本地开发环境 - 登录表单添加默认测试账号 - 主题存储默认设置为暗色模式 - 添加用户信息到请求上下文 - 调整LOGO和登录页面样式 - 更新演示环境白名单和权限控制 - 优化部署脚本流程和日志输出 - 清理未使用的组件类型声明
19 lines
311 B
Bash
19 lines
311 B
Bash
# 环境
|
|
VITE_APP_ENV=development
|
|
|
|
# 项目名称
|
|
VITE_APP_TITLE=fastapiadmin
|
|
|
|
# 网络请求公用地址
|
|
VITE_API_BASE_URL=http://localhost:8001
|
|
# VITE_API_BASE_URL=https://service.fastapiadmin.com
|
|
|
|
# 代理前缀
|
|
VITE_APP_BASE_API=/api/v1
|
|
|
|
# 应用端口
|
|
VITE_APP_PORT=5180
|
|
|
|
# 超时时间
|
|
VITE_TIMEOUT=10000
|