From 42f7891a8c294e4f1cd4f562d1e9cae6fb4a9028 Mon Sep 17 00:00:00 2001 From: Felipe Saadi <54749257+FelipeSaadi@users.noreply.github.com> Date: Tue, 9 Jul 2024 11:01:11 -0300 Subject: [PATCH] Add Panorama Block to Frame Ancestors (#6012) --- frontend/app/.ic-assets.json5 | 2 +- frontend/app/src/stores/xframe.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/app/.ic-assets.json5 b/frontend/app/.ic-assets.json5 index 18a086c5c0..9b6e22b5e9 100644 --- a/frontend/app/.ic-assets.json5 +++ b/frontend/app/.ic-assets.json5 @@ -8,7 +8,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "X-XSS-Protection": "1; mode=block", - "Content-Security-Policy": "frame-ancestors https://4hy5z-qaaaa-aaaal-addrq-cai.icp0.io https://desktop.windoge98.com https://vault-bet.com https://www.vault-bet.com https://gooble.app https://signalsicp.com https://kjfeq-waaaa-aaaan-qedva-cai.icp0.io https://spyzr-gqaaa-aaaan-qd66q-cai.icp0.io https://221bravo.app https://ht7v7-iaaaa-aaaak-qakga-cai.icp0.io https://mdocx-gyaaa-aaaak-qcbsq-cai.icp0.io https://calm-pasca-49d7be.netlify.app http://localhost:5173 https://zexzi-jyaaa-aaaam-abj3q-cai.icp0.io https://xw4dq-4yaaa-aaaam-abeuq-cai.ic0.app https://bxnm7-oqaaa-aaaag-albpq-cai.icp0.io;", + "Content-Security-Policy": "frame-ancestors https://4hy5z-qaaaa-aaaal-addrq-cai.icp0.io https://desktop.windoge98.com https://vault-bet.com https://www.vault-bet.com https://gooble.app https://signalsicp.com https://kjfeq-waaaa-aaaan-qedva-cai.icp0.io https://spyzr-gqaaa-aaaan-qd66q-cai.icp0.io https://221bravo.app https://ht7v7-iaaaa-aaaak-qakga-cai.icp0.io https://mdocx-gyaaa-aaaak-qcbsq-cai.icp0.io https://calm-pasca-49d7be.netlify.app http://localhost:5173 https://zexzi-jyaaa-aaaam-abj3q-cai.icp0.io https://xw4dq-4yaaa-aaaam-abeuq-cai.ic0.app https://bxnm7-oqaaa-aaaag-albpq-cai.icp0.io https://panoramablock.com;", }, allow_raw_access: false, }, diff --git a/frontend/app/src/stores/xframe.ts b/frontend/app/src/stores/xframe.ts index 19e291fb10..bd36ca39ee 100644 --- a/frontend/app/src/stores/xframe.ts +++ b/frontend/app/src/stores/xframe.ts @@ -23,6 +23,7 @@ const FRAME_ANCESTORS = [ "https://kjfeq-waaaa-aaaan-qedva-cai.icp0.io", // vaultbet test "https://spyzr-gqaaa-aaaan-qd66q-cai.icp0.io", // vaultbet "https://bxnm7-oqaaa-aaaag-albpq-cai.icp0.io", // ZKP + "https://panoramablock.com", // Panorama Block Live ]; type InboundXFrameMessage = UpdateTheme | ChangeRoute | OverrideSettings | Logout;