From 8e00d267362d0f7d32931935ed24f8df1739e944 Mon Sep 17 00:00:00 2001 From: kkatusic Date: Wed, 11 Dec 2024 22:23:51 +0100 Subject: [PATCH] Fix/App Safe iframe --- next.config.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/next.config.js b/next.config.js index 344d2bf909..47c3e8c328 100644 --- a/next.config.js +++ b/next.config.js @@ -161,11 +161,15 @@ const moduleExports = withBundleAnalyzer({ headers: [ { key: 'X-Frame-Options', - value: 'SAMEORIGIN', + value: 'ALLOW-FROM https://app.safe.global', }, { key: 'Content-Security-Policy', - value: "frame-ancestors 'self'", + value: "frame-ancestors 'self' https://app.safe.global", + }, + { + key: 'Access-Control-Allow-Origin', + value: 'https://app.safe.global', }, { key: 'X-Content-Type-Options',