mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
- 新增文件上传下载服务及API接口 - 重构用户认证模块,支持验证码登录 - 优化.env配置文件结构 - 更新前端API请求工具和类型定义 - 添加工作台菜单项 - 修复用户登出逻辑 - 统一API响应数据结构
20 lines
366 B
Bash
20 lines
366 B
Bash
# 环境
|
|
VITE_APP_ENV=production
|
|
|
|
# 项目名称
|
|
VITE_APP_TITLE=fastapiadmin
|
|
|
|
# 网络请求公用地址
|
|
VITE_API_BASE_URL=http://localhost:8001
|
|
|
|
# 代理前缀
|
|
VITE_APP_BASE_API=/api/v1
|
|
|
|
# 应用端口
|
|
VITE_APP_PORT=5180
|
|
|
|
# 超时时间
|
|
VITE_TIMEOUT=10000
|
|
|
|
# WebSocket 服务器的 URL,不配置默认关闭 WebSocket
|
|
#VITE_APP_WS_ENDPOINT= ws://localhost:4096/ws |