replace instat to insports

keep-around/b214ac7012ef42593bee62c207888a2593bc5a38
Dmitry Kosolapov home 3 years ago committed by Andrei Dekterev
parent 1f31b8b9e3
commit d8a6be5a63
  1. 2
      public/clients/instat/terms-and-conditions.html
  2. 12
      src/config/routes.tsx
  3. 4
      src/features/AuthServiceApp/config/routes.tsx
  4. 2
      src/features/AuthStore/helpers.tsx
  5. 2
      src/features/SystemSettings/components/APISettings/index.tsx
  6. 2
      src/helpers/cookie/index.tsx

@ -634,7 +634,7 @@
style="font-size: 10.5pt; font-family: 'Trebuchet MS', sans-serif"
>You may cancel your subscription at any time. To cancel your
subscription please open your account settings page -
<a href="https://instat.tv/useraccount/bank-cards"
<a href="https://insports.tv/useraccount/bank-cards"
><span
lang="EN-US"
style="

@ -4,16 +4,16 @@ import { ENV, isProduction } from './env'
export const APIS = {
preproduction: {
api: 'https://api.instat.tv', // 'https://api-aws-stage.instat.tv:11630',
auth: 'https://auth.instat.tv',
api: 'https://api.insports.tv', // 'https://api-aws-stage.instat.tv:11630',
auth: 'https://auth.insports.tv',
},
production: {
api: 'https://api.instat.tv',
auth: 'https://auth.instat.tv',
api: 'https://api.insports.tv',
auth: 'https://auth.insports.tv',
},
staging: {
api: 'https://api-staging.instat.tv',
auth: 'https://test-auth.instat.tv',
api: 'https://api.insports.tv',
auth: 'https://test.insports.tv',
},
}

@ -2,8 +2,8 @@ import { ENV } from 'config/env'
const APIS = {
preproduction: '',
production: 'https://auth.instat.tv',
staging: 'https://test-auth.instat.tv',
production: 'https://auth.insports.tv',
staging: 'https://auth.insports.tv',
}
export const API_ROOT = APIS[ENV]

@ -34,7 +34,7 @@ const redirectUrl = () => {
case (process.env.NODE_ENV === 'development' || client.name === 'lff'):
return `${window.origin}/redirect`
case (ENV === 'staging' || ENV === 'preproduction'):
return `https://${stageENV}.instat.tv/redirect`
return `https://${stageENV}.insports.tv/redirect`
default:
return `https://${clientName}.tv/redirect`
}

@ -61,7 +61,7 @@ export const APISettings = ({ onChange, selectedApi }: Props) => (
defaultChecked={option.key === selectedApi}
>
{option.label}
<Details>{option.details.replace('.instat.tv', '')}</Details>
<Details>{option.details.replace('.insports.tv', '')}</Details>
</RadioButton>
))
}

@ -25,5 +25,5 @@ export const removeCookie = (name: string, domain = getDomain()) => {
const getDomain = () => (
process.env.NODE_ENV === 'development'
? 'localhost'
: '.instat.tv'
: '.insports.tv'
)

Loading…
Cancel
Save