10 lines
314 B
JavaScript
10 lines
314 B
JavaScript
const { details: { host } } = require('@config/siteConfig');
|
|
|
|
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 });
|
|
};
|
|
|
|
module.exports = sendEmbedPage;
|