removed X-Frame-Option from video-embed response headers
This commit is contained in:
parent
04a653fefb
commit
7400fba3ad
1 changed files with 3 additions and 3 deletions
|
@ -3,9 +3,9 @@ const { details: { host } } = require('@config/siteConfig');
|
|||
const sendVideoEmbedPage = ({ params }, res) => {
|
||||
const claimId = params.claimId;
|
||||
const name = params.name;
|
||||
console.log('HOST:', host);
|
||||
console.log('CLAIM ID:', claimId);
|
||||
console.log('NAME:', name);
|
||||
// test setting response headers
|
||||
console.log('removing x-frame-options');
|
||||
res.removeHeader('X-Frame-Options');
|
||||
// get and render the content
|
||||
res.status(200).render('embed', { host, claimId, name });
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue