removed X-Frame-Option from video-embed response headers

This commit is contained in:
bill bittner 2018-07-12 12:44:53 -07:00
parent 04a653fefb
commit 7400fba3ad

View file

@ -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 });
};