refactor: 重构路由与部署脚本,更新静态资源路径

This commit is contained in:
zhangtao
2026-05-13 01:55:47 +08:00
parent db5f8430de
commit 63d76007cb
69 changed files with 1688 additions and 2794 deletions
+4 -4
View File
@@ -10,12 +10,12 @@ VITE_APP_TITLE = FastAPI Admin
VITE_API_URL = /
# 代理目标:本机后端(若出现 ENOTFOUND,说明上面域名在当前网络/DNS 下不可解析,改用本地或可用地址)
VITE_API_BASE_URL = http://127.0.0.1:8001
# VITE_API_BASE_URL = https://service.fastapiadmin.com
# VITE_API_BASE_URL = http://127.0.0.1:8001
VITE_API_BASE_URL = https://service.fastapiadmin.com
# 是否删除控制台输出
VITE_DROP_CONSOLE = false
# WebSocket 端点(AI对话功能需要配置)
VITE_APP_WS_ENDPOINT = ws://localhost:8001
# VITE_APP_WS_ENDPOINT = wss://service.fastapiadmin.com
# VITE_APP_WS_ENDPOINT = ws://localhost:8001
VITE_APP_WS_ENDPOINT = wss://service.fastapiadmin.com