Skip to content

Commit 7758ad2

Browse files
authored
fix: add more trusted origins (deriv-com#17883)
1 parent 27ed50f commit 7758ad2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/cashier/src/stores/iframe-store.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ export default class IframeStore {
4242

4343
this.removeOnIframeLoaded();
4444

45-
const trusted_origins = ['https://cashier.deriv.com', 'https://doughflow-test.4x.my'];
45+
const trusted_origins = [
46+
'https://cashier.deriv.com',
47+
'https://cashier.deriv.be',
48+
'https://cashier.deriv.me',
49+
'https://doughflow-test.4x.my',
50+
];
4651

4752
this.onIframeLoaded = (e: MessageEvent) => {
4853
if (trusted_origins.includes(e.origin)) {

0 commit comments

Comments
 (0)