spee.ch/server/controllers/pages/sendEmbedPage.js
2018-04-26 23:42:22 -07:00

10 lines
325 B
JavaScript

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