Merge branch 'Preorder/iframe-revision-2' into 'master'

updated new iframe

See merge request fronk/thetool!1489
This commit is contained in:
Luca Haid
2025-06-24 13:33:45 +00:00

View File

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