Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 7f9b829

Browse files
authored
Revert "Habib/cookie injection (#7362)" (#7365)
This reverts commit 71b145c.
1 parent 1e9f3d2 commit 7f9b829

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/javascript/app/common/redirect_banner.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ const RedirectBanner = (() => {
2525
};
2626

2727
const handleRedirect = () => {
28-
window.location.href = 'https://eu.deriv.com/';
28+
window.location.href = '/move-to-deriv/';
2929
};
3030
const handleRowRedirect = () => {
31-
window.location.href = 'https://deriv.com/';
31+
window.location.href = '/binary-to-deriv/';
3232
};
3333

3434
const loginOnLoad = () => {

src/javascript/app/common/traffic_source.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const TrafficSource = (() => {
9494
if (shouldOverwrite(new_values, current_values)) {
9595
clearData();
9696
Object.keys(new_values).forEach((key) => {
97-
// cookie.set(key, new_values[key], { sameSite: 'none', secure: true });
97+
cookie.set(key, new_values[key], { sameSite: 'none', secure: true });
9898
});
9999
}
100100

0 commit comments

Comments
 (0)