-
Notifications
You must be signed in to change notification settings - Fork 231
Meenu/updated url for binary to deriv row users #7206
base: master
Are you sure you want to change the base?
Meenu/updated url for binary to deriv row users #7206
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
Kudos, SonarCloud Quality Gate passed!
|
} | ||
|
||
}); | ||
|
||
}; | ||
|
||
const handleRedirect = () => { | ||
window.location.href = '/move-to-deriv/'; | ||
window.location.href = 'https://www.binary.bot/movetoderiv.html'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/move-to-deriv/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @habib-deriv @meenakshi-deriv the new one is /binary-to-deriv/
which we need to append to the url. We won’t need any redirection I think. 🤔
binary.com/binary-to-deriv/
} | ||
|
||
}); | ||
|
||
}; | ||
|
||
const handleRedirect = () => { | ||
window.location.href = '/move-to-deriv/'; | ||
window.location.href = 'https://www.binary.bot/movetoderiv.html'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @habib-deriv @meenakshi-deriv the new one is /binary-to-deriv/
which we need to append to the url. We won’t need any redirection I think. 🤔
binary.com/binary-to-deriv/
// Check if param have ?binary-com-lp | ||
const redirectBinary = new URLSearchParams(window.location.search); | ||
|
||
if (redirectBinary.has('binary-com-lp') || Cookies.get('binary-com-show')){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don’t need this binary-com-lp
check here anymore cause the changes will be in binary itself now.
We just need to append /binary-to-deriv/
once the client country is rest of the world.
@habib-deriv please correct me if I'm wrong 🙏
No description provided.