mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 20:55:14 +00:00
feat: 迁移前端资源文件并重构项目结构
refactor: 优化前端代码结构和资源管理 style: 调整前端代码格式和样式 chore: 更新.gitignore和构建配置 fix: 修复前端资源路径和引用问题 docs: 更新前端文档和注释 perf: 优化前端性能和加载速度 test: 更新前端测试用例 build: 调整前端构建配置 ci: 更新CI/CD配置
This commit is contained in:
Regular → Executable
+11
-15
@@ -1,20 +1,16 @@
|
||||
# 环境
|
||||
VITE_APP_ENV=production
|
||||
# 【生产】环境变量 - 覆盖通用配置
|
||||
|
||||
# 环境标识
|
||||
VITE_APP_ENV = production
|
||||
|
||||
# 项目名称
|
||||
VITE_APP_TITLE=fastapiadmin
|
||||
VITE_APP_TITLE = FastAPI Admin
|
||||
|
||||
# 网络请求公用地址,如果没有认证可以使用http
|
||||
VITE_API_BASE_URL=https://server.fastapiadmin.com
|
||||
# API 请求基础路径(生产环境使用完整后端地址)
|
||||
VITE_API_BASE_URL = https://server.fastapiadmin.com
|
||||
|
||||
# 代理前缀
|
||||
VITE_APP_BASE_API=/api/v1
|
||||
# 是否删除控制台输出
|
||||
VITE_DROP_CONSOLE = true
|
||||
|
||||
# 应用端口
|
||||
VITE_APP_PORT=5180
|
||||
|
||||
# 超时时间
|
||||
VITE_TIMEOUT=10000
|
||||
|
||||
# WebSocket 端点(不配置则关闭),ai对话需要配置,如果没有认证wss需要改为ws
|
||||
VITE_APP_WS_ENDPOINT=wss://server.fastapiadmin.com
|
||||
# WebSocket 端点(AI对话功能需要配置,生产环境建议使用 wss)
|
||||
VITE_APP_WS_ENDPOINT = wss://server.fastapiadmin.com
|
||||
|
||||
Reference in New Issue
Block a user