Skip to content

Commit 0e467ff

Browse files
authored
Merge pull request #6491 from blockchain/fix/exclusions-sofi
fix/exclusions-sofi: added hash
2 parents 5b3c9ff + bf5ee82 commit 0e467ff

File tree

1 file changed

+7
-4
lines changed
  • packages/blockchain-wallet-v4-frontend/src/scenes

1 file changed

+7
-4
lines changed

packages/blockchain-wallet-v4-frontend/src/scenes/app.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ const useFullPathForRedirect = [
115115
'/forgot-password',
116116
'/import-wallet',
117117
'/auth',
118-
'#/auth'
118+
'/#/auth',
119+
'/#/sofi'
119120
]
120121

121122
const excludedProduction = [
@@ -138,7 +139,8 @@ const excludedProduction = [
138139
'/#/login?product=wallet&platform=ios',
139140
'/#/login?product=wallet&platform=android',
140141
'/#/signup/product=exchange&platform=ios',
141-
'/#/signup/product=exchange&platform=android'
142+
'/#/signup/product=exchange&platform=android',
143+
'/#/sofi'
142144
]
143145

144146
const excludedStaging = [
@@ -161,7 +163,8 @@ const excludedStaging = [
161163
'/#/login?product=wallet&platform=ios',
162164
'/#/login?product=wallet&platform=android',
163165
'/#/signup/product=exchange&platform=ios',
164-
'/#/signup/product=exchange&platform=android'
166+
'/#/signup/product=exchange&platform=android',
167+
'/#/sofi'
165168
]
166169

167170
const App = ({
@@ -296,7 +299,7 @@ const App = ({
296299

297300
if (availableUI) {
298301
// eslint-disable-next-line
299-
console.log('Redirecting to v5')
302+
console.log('Redirecting to v5', fullPathCaseSensitive)
300303
// Using **WALLET_V5_LINK** as a fallback for webpack builder.
301304
if (useFullPathForRedirect.some((prefix) => fullPath.startsWith(prefix))) {
302305
window.location.href = `${window?.WALLET_V5_LINK + removeHash(fullPathCaseSensitive)}`

0 commit comments

Comments
 (0)