@@ -115,7 +115,8 @@ const useFullPathForRedirect = [
115
115
'/forgot-password' ,
116
116
'/import-wallet' ,
117
117
'/auth' ,
118
- '#/auth'
118
+ '/#/auth' ,
119
+ '/#/sofi'
119
120
]
120
121
121
122
const excludedProduction = [
@@ -138,7 +139,8 @@ const excludedProduction = [
138
139
'/#/login?product=wallet&platform=ios' ,
139
140
'/#/login?product=wallet&platform=android' ,
140
141
'/#/signup/product=exchange&platform=ios' ,
141
- '/#/signup/product=exchange&platform=android'
142
+ '/#/signup/product=exchange&platform=android' ,
143
+ '/#/sofi'
142
144
]
143
145
144
146
const excludedStaging = [
@@ -161,7 +163,8 @@ const excludedStaging = [
161
163
'/#/login?product=wallet&platform=ios' ,
162
164
'/#/login?product=wallet&platform=android' ,
163
165
'/#/signup/product=exchange&platform=ios' ,
164
- '/#/signup/product=exchange&platform=android'
166
+ '/#/signup/product=exchange&platform=android' ,
167
+ '/#/sofi'
165
168
]
166
169
167
170
const App = ( {
@@ -296,7 +299,7 @@ const App = ({
296
299
297
300
if ( availableUI ) {
298
301
// eslint-disable-next-line
299
- console . log ( 'Redirecting to v5' )
302
+ console . log ( 'Redirecting to v5' , fullPathCaseSensitive )
300
303
// Using **WALLET_V5_LINK** as a fallback for webpack builder.
301
304
if ( useFullPathForRedirect . some ( ( prefix ) => fullPath . startsWith ( prefix ) ) ) {
302
305
window . location . href = `${ window ?. WALLET_V5_LINK + removeHash ( fullPathCaseSensitive ) } `
0 commit comments