Skip to content

Commit

Permalink
refactor: explicitly specify top redirections for secure payment and …
Browse files Browse the repository at this point in the history
…payout links (#6494)
  • Loading branch information
kashif-m authored and Sayak Bhattacharya committed Nov 26, 2024
1 parent 675dbfc commit d4d5a0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ if (!isTestMode && !isFramed) {
// @ts-ignore
hyper = window.Hyper(publishableKey, {
isPreloadEnabled: false,
shouldUseTopRedirection: isFramed,
});
widgets = hyper.widgets({
appearance: appearance,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ if (!isFramed) {
// @ts-ignore
hyper = window.Hyper(pub_key, {
isPreloadEnabled: false,
shouldUseTopRedirection: true,
});
// @ts-ignore
widgets = hyper.widgets({
Expand Down

0 comments on commit d4d5a0b

Please sign in to comment.