From 06e349d608b931e8830a9c4e8737d016b2e0479e Mon Sep 17 00:00:00 2001 From: Dmitry Kosolapov home Date: Wed, 31 Aug 2022 11:58:27 +0700 Subject: [PATCH] update url --- src/features/AuthServiceApp/config/routes.tsx | 2 +- src/features/AuthStore/helpers.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/features/AuthServiceApp/config/routes.tsx b/src/features/AuthServiceApp/config/routes.tsx index 2758db0d..71da1c26 100644 --- a/src/features/AuthServiceApp/config/routes.tsx +++ b/src/features/AuthServiceApp/config/routes.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', } diff --git a/src/features/AuthStore/helpers.tsx b/src/features/AuthStore/helpers.tsx index b075a0e5..5b2d2fc6 100644 --- a/src/features/AuthStore/helpers.tsx +++ b/src/features/AuthStore/helpers.tsx @@ -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` }