Revert "fix(mobile-upgrade): 修复股行App版本管理API路径匹配Kong路由"
This reverts commit 5ef0992448.
This commit is contained in:
parent
5ef0992448
commit
7b7c9cd9f6
|
|
@ -1,6 +1,6 @@
|
||||||
# API Configuration
|
# API Configuration
|
||||||
NEXT_PUBLIC_API_URL=https://rwaapi.szaiai.com
|
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
|
# Application Info
|
||||||
NEXT_PUBLIC_APP_NAME=RWADurian Mobile Upgrade
|
NEXT_PUBLIC_APP_NAME=RWADurian Mobile Upgrade
|
||||||
|
|
|
||||||
|
|
@ -61,10 +61,9 @@ const APP_CONFIGS: Record<AppType, ApiConfig> = {
|
||||||
apiPrefix: '/api/v1/versions',
|
apiPrefix: '/api/v1/versions',
|
||||||
},
|
},
|
||||||
// 股行 App - 连接新的 mining-admin-service 后端
|
// 股行 App - 连接新的 mining-admin-service 后端
|
||||||
// 生产环境通过 Kong 路由: /api/v2/mining-admin -> mining-admin-service:3023/api/v2
|
|
||||||
mining: {
|
mining: {
|
||||||
baseURL: process.env.NEXT_PUBLIC_MINING_API_URL || 'http://localhost:3023/api/v2',
|
baseURL: process.env.NEXT_PUBLIC_MINING_API_URL || 'http://localhost:3023',
|
||||||
apiPrefix: '/versions',
|
apiPrefix: '/api/v2/versions',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue