Revert "fix(mobile-upgrade): 修复股行App版本管理API路径匹配Kong路由"

This reverts commit 5ef0992448.
This commit is contained in:
hailin 2026-01-29 12:30:52 -08:00
parent 5ef0992448
commit 7b7c9cd9f6
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# API Configuration
NEXT_PUBLIC_API_URL=https://rwaapi.szaiai.com
NEXT_PUBLIC_MINING_API_URL=https://rwaapi.szaiai.com/api/v2/mining-admin
NEXT_PUBLIC_MINING_API_URL=https://rwaapi.szaiai.com/mining-admin
# Application Info
NEXT_PUBLIC_APP_NAME=RWADurian Mobile Upgrade

View File

@ -61,10 +61,9 @@ const APP_CONFIGS: Record<AppType, ApiConfig> = {
apiPrefix: '/api/v1/versions',
},
// 股行 App - 连接新的 mining-admin-service 后端
// 生产环境通过 Kong 路由: /api/v2/mining-admin -> mining-admin-service:3023/api/v2
mining: {
baseURL: process.env.NEXT_PUBLIC_MINING_API_URL || 'http://localhost:3023/api/v2',
apiPrefix: '/versions',
baseURL: process.env.NEXT_PUBLIC_MINING_API_URL || 'http://localhost:3023',
apiPrefix: '/api/v2/versions',
},
}