2018-06-06 03:55:44 +02:00
|
|
|
const { details: { host } } = require('@config/siteConfig.js');
|
2018-03-29 18:48:32 +02:00
|
|
|
|
2018-03-29 20:40:47 +02:00
|
|
|
const sendEmbedPage = ({ params }, res) => {
|
|
|
|
const claimId = params.claimId;
|
|
|
|
const name = params.name;
|
|
|
|
// get and render the content
|
|
|
|
res.status(200).render('embed', { layout: 'embed', host, claimId, name });
|
2018-03-29 18:48:32 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = sendEmbedPage;
|