修改: 1. frontend/mining-admin-web/src/lib/api/client.ts - 使用环境变量 NEXT_PUBLIC_API_URL 配置 API baseURL - 开发环境默认使用 /api 代理 2. frontend/mining-admin-web/.env.production (新增) - NEXT_PUBLIC_API_URL=https://rwaapi.szaiai.com/api/v2/mining-admin 3. backend/api-gateway/kong.yml - CORS origins 添加 https://madmin.szaiai.com - CORS origins 添加 http://localhost:3100 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| api-gateway | ||
| infrastructure | ||
| mpc-system | ||
| scripts | ||
| services | ||
| .env.windows | ||
| docker-compose.windows.yml | ||