mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
refactor: explicitly specify top redirections for secure payment and payout links (#6494)
This commit is contained in:
@ -144,6 +144,7 @@ if (!isTestMode && !isFramed) {
|
||||
// @ts-ignore
|
||||
hyper = window.Hyper(publishableKey, {
|
||||
isPreloadEnabled: false,
|
||||
shouldUseTopRedirection: isFramed,
|
||||
});
|
||||
widgets = hyper.widgets({
|
||||
appearance: appearance,
|
||||
|
||||
@ -48,6 +48,7 @@ if (!isFramed) {
|
||||
// @ts-ignore
|
||||
hyper = window.Hyper(pub_key, {
|
||||
isPreloadEnabled: false,
|
||||
shouldUseTopRedirection: true,
|
||||
});
|
||||
// @ts-ignore
|
||||
widgets = hyper.widgets({
|
||||
|
||||
Reference in New Issue
Block a user