From 799b07395faf812925ca38ae6b821eec9a14ce7e Mon Sep 17 00:00:00 2001 From: Dmitry Kosolapov home Date: Wed, 31 Aug 2022 15:08:57 +0700 Subject: [PATCH] maybe fix redirect_uri for auth --- src/features/AuthStore/helpers.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/features/AuthStore/helpers.tsx b/src/features/AuthStore/helpers.tsx index 80b41fa0..f903a763 100644 --- a/src/features/AuthStore/helpers.tsx +++ b/src/features/AuthStore/helpers.tsx @@ -29,7 +29,8 @@ export const getClientNameByRedirectUri = () => { } const redirectUrl = () => { - return 'https://insports.tv/redirect' + getClientNameByRedirectUri() + return `${window.origin}/redirect` } // const redirectUrl = () => {