|
|
|
|
@ -47,7 +47,7 @@ export const getTeamsStats = async ({ |
|
|
|
|
|
|
|
|
|
const response: Response = await callApi({ |
|
|
|
|
config, |
|
|
|
|
url: `http://3.248.230.144:8888/${sportName}/matches/${matchId}/teams/stats?group_num=0${isUndefined(second) ? '' : `&second=${second}`}`, |
|
|
|
|
url: `https://statistic.insports.tv/${sportName}/matches/${matchId}/teams/stats?group_num=0${isUndefined(second) ? '' : `&second=${second}`}`, |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
if (response.error) Promise.reject(response) |
|
|
|
|
|