keep-around/b214ac7012ef42593bee62c207888a2593bc5a38
Dmitry Kosolapov home 3 years ago committed by Andrei Dekterev
parent 31e457c372
commit 06e349d608
  1. 2
      src/features/AuthServiceApp/config/routes.tsx
  2. 3
      src/features/AuthStore/helpers.tsx

@ -1,7 +1,7 @@
import { ENV } from 'config/env'
const APIS = {
preproduction: '',
preproduction: 'https://auth.insports.tv',
production: 'https://auth.insports.tv',
staging: 'https://auth.insports.tv',
}

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

Loading…
Cancel
Save