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';