u
This commit is contained in:
parent
cc1c70d57f
commit
6eed682d93
1 changed files with 2 additions and 2 deletions
|
@ -58,13 +58,13 @@ router.get('/:campaign/:list/:subscription', (req, res, next) => {
|
||||||
req.flash('danger', err.message || err);
|
req.flash('danger', err.message || err);
|
||||||
return res.redirect('/');
|
return res.redirect('/');
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
if (!mail && !req.user) {
|
if (!mail && !req.user) {
|
||||||
err = new Error('Not Found');
|
err = new Error('Not Found');
|
||||||
err.status = 404;
|
err.status = 404;
|
||||||
return next(err);
|
return next(err);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
let renderAndShow = (html, renderTags) => {
|
let renderAndShow = (html, renderTags) => {
|
||||||
|
|
||||||
// rewrite links to count clicks
|
// rewrite links to count clicks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue