mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
build: 优化admin-spa构建配置和环境变量
- 添加 .env.production 配置文件,确保workflow构建时使用正确的基础路径 - 更新 .gitignore 规则,允许提交生产环境配置 - 调整环境变量配置,支持自动化构建流程 这些更改确保GitHub Actions构建的前端能正确配置路由和API路径 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4
web/admin-spa/.env.production
Normal file
4
web/admin-spa/.env.production
Normal file
@@ -0,0 +1,4 @@
|
||||
# 生产环境配置
|
||||
# 应用基础路径(用于路由配置)
|
||||
VITE_APP_BASE_URL=/admin-next/
|
||||
VITE_APP_TITLE=Claude Relay Service - 管理后台
|
||||
Reference in New Issue
Block a user