mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 04:46:26 +00:00
refactor: 优化前端代码结构和资源管理 style: 调整前端代码格式和样式 chore: 更新.gitignore和构建配置 fix: 修复前端资源路径和引用问题 docs: 更新前端文档和注释 perf: 优化前端性能和加载速度 test: 更新前端测试用例 build: 调整前端构建配置 ci: 更新CI/CD配置
17 lines
449 B
Bash
Executable File
17 lines
449 B
Bash
Executable File
# 【生产】环境变量 - 覆盖通用配置
|
|
|
|
# 环境标识
|
|
VITE_APP_ENV = production
|
|
|
|
# 项目名称
|
|
VITE_APP_TITLE = FastAPI Admin
|
|
|
|
# API 请求基础路径(生产环境使用完整后端地址)
|
|
VITE_API_BASE_URL = https://server.fastapiadmin.com
|
|
|
|
# 是否删除控制台输出
|
|
VITE_DROP_CONSOLE = true
|
|
|
|
# WebSocket 端点(AI对话功能需要配置,生产环境建议使用 wss)
|
|
VITE_APP_WS_ENDPOINT = wss://server.fastapiadmin.com
|