From 9b2d8aa27348893da4d1a83ffa393b012f08d1cf Mon Sep 17 00:00:00 2001 From: Leora Brody Date: Mon, 28 Oct 2024 09:28:44 -0600 Subject: [PATCH] feat(routing): update prod exclusions --- .../blockchain-wallet-v4-frontend/src/scenes/app.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/blockchain-wallet-v4-frontend/src/scenes/app.tsx b/packages/blockchain-wallet-v4-frontend/src/scenes/app.tsx index ec321f0760..e5a089b8e0 100644 --- a/packages/blockchain-wallet-v4-frontend/src/scenes/app.tsx +++ b/packages/blockchain-wallet-v4-frontend/src/scenes/app.tsx @@ -126,13 +126,13 @@ const excludedProduction = [ '/exchange', '/prove/instant-link/callback', '/refer', - '/sofi', + // '/sofi', '/#/verify-email', '/#/login?product=exchange', '/wallet-options-v4.json', '/#/prove', - '/#/reset-two-factor', - '/#/open', + // '/#/reset-two-factor', + // '/#/open', '/login?product=wallet&platform=ios', '/login?product=wallet&platform=android', '/signup/product=exchange&platform=ios', @@ -140,8 +140,8 @@ const excludedProduction = [ '/#/login?product=wallet&platform=ios', '/#/login?product=wallet&platform=android', '/#/signup/product=exchange&platform=ios', - '/#/signup/product=exchange&platform=android', - '/#/sofi' + '/#/signup/product=exchange&platform=android' + // '/#/sofi' ] const excludedStaging = [ @@ -309,6 +309,7 @@ const App = ({ console.log('xx', 'Redirecting to v5', fullPathCaseSensitive) // Using **WALLET_V5_LINK** as a fallback for webpack builder. if (useFullPathForRedirect.some((prefix) => fullPath.startsWith(prefix))) { + // eslint-disable-next-line console.log( 'xx', `${window?.WALLET_V5_LINK + removeHash(fullPathCaseSensitive)}`, @@ -316,6 +317,7 @@ const App = ({ ) window.location.href = `${window?.WALLET_V5_LINK + removeHash(fullPathCaseSensitive)}` } else { + // eslint-disable-next-line console.log('xx', window?.WALLET_V5_LINK, 'not using full path for redirect') window.location.href = window?.WALLET_V5_LINK }