|
|
|
|
@ -28,17 +28,17 @@ const options: Array<Option> = [ |
|
|
|
|
{ |
|
|
|
|
details: getHost(APIS.staging.api), |
|
|
|
|
key: 'staging', |
|
|
|
|
label: 'Стейджинг', |
|
|
|
|
label: 'STAGE-OLD', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
details: getHost(APIS.preproduction.api), |
|
|
|
|
key: 'preproduction', |
|
|
|
|
label: 'Тест', |
|
|
|
|
label: 'STAGE-AWS', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
details: getHost(APIS.production.api), |
|
|
|
|
key: 'production', |
|
|
|
|
label: 'Продакшн', |
|
|
|
|
label: 'PRODUCTION', |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
@ -61,7 +61,7 @@ export const APISettings = ({ onChange, selectedApi }: Props) => ( |
|
|
|
|
defaultChecked={option.key === selectedApi} |
|
|
|
|
> |
|
|
|
|
{option.label} |
|
|
|
|
<Details>{option.details}</Details> |
|
|
|
|
<Details>{option.details.replace('.instat.tv', '')}</Details> |
|
|
|
|
</RadioButton> |
|
|
|
|
)) |
|
|
|
|
} |
|
|
|
|
|