updated new iframe

This commit is contained in:
Luca Haid
2025-06-24 15:33:37 +02:00
parent c502d3c205
commit af939d1a61

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