spee.ch/server/routes/pages/sendEmbedPage.js
2018-03-29 11:40:47 -07:00

10 lines
309 B
JavaScript

const { details: { host } } = require('siteConfig.js');
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;