Merge branch 'Preorder/iframe-revision-2' into 'master'
updated new iframe See merge request fronk/thetool!1489
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user