From 32be84e2b9876b713d893a2cddc4dbe0920920b5 Mon Sep 17 00:00:00 2001 From: Andrei Dekterev Date: Mon, 5 Sep 2022 15:22:07 +0400 Subject: [PATCH] fix(connect zendesk): change condition for zendesk and change redirect url --- public/index.html | 2 ++ src/features/AuthStore/helpers.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index aacb5929..8317367f 100644 --- a/public/index.html +++ b/public/index.html @@ -48,11 +48,13 @@
+ <% if (process.env.REACT_APP_TYPE === 'ott') { %> + <% } %> diff --git a/src/features/AuthStore/helpers.tsx b/src/features/AuthStore/helpers.tsx index 46834890..b0f5102b 100644 --- a/src/features/AuthStore/helpers.tsx +++ b/src/features/AuthStore/helpers.tsx @@ -36,7 +36,7 @@ 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}.instat.tv/redirect` default: return `https://${clientName}.tv/redirect` }