diff --git a/routes/page-routes.js b/routes/page-routes.js index 37c915b7..36fd1517 100644 --- a/routes/page-routes.js +++ b/routes/page-routes.js @@ -50,15 +50,14 @@ module.exports = (app) => { errorHandlers.handleRequestError(error, res); }); }); - // route to display all free public claims at a given name + // route to send embedable video player (for twitter) app.get('/embed/:claimId/:name', ({ params }, res) => { const claimId = params.claimId; const name = params.name; - const dummyParam = '.b'; console.log('claimId ==', claimId); console.log('name ==', name); // get and render the content - res.status(200).render('embed', { layout: 'embed', claimId, name, dummyParam }); + res.status(200).render('embed', { layout: 'embed', claimId, name }); }); // route to display all free public claims at a given name app.get('/:name/all', ({ ip, originalUrl, params }, res) => {