From af939d1a6195bba5fa51a9af1c40ceda1f09a93f Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Tue, 24 Jun 2025 15:33:37 +0200 Subject: [PATCH] updated new iframe --- Layout/default/VueViews/PreorderIFrame.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Layout/default/VueViews/PreorderIFrame.php b/Layout/default/VueViews/PreorderIFrame.php index b867d1fdb..6b8c2def3 100644 --- a/Layout/default/VueViews/PreorderIFrame.php +++ b/Layout/default/VueViews/PreorderIFrame.php @@ -217,8 +217,8 @@ }); // add header where the iframe is embedded - // const referrer = document.referrer.split('?')[0]; - const referrer = 'http://localhost/test.html'; + const referrer = document.referrer.split('?')[0]; + // const referrer = 'http://localhost/test.html'; const api = axios.create({ baseURL: API_BASE_URL, headers: { 'X-Requested-With': 'XMLHttpRequest', 'X-Frame-Options': 'SAMEORIGIN', 'X-Frame-Referrer': referrer } }); config.color = new URLSearchParams(window.location.search).get('color') || config.color || 'blue';