Configurable branding pt. 3
parent
4becfb7d81
commit
965c5cf73b
|
@ -10,7 +10,8 @@ router.get('/', (req, res, _next) => {
|
||||||
title: `${config.branding[0]} | Your temporary Inbox`,
|
title: `${config.branding[0]} | Your temporary Inbox`,
|
||||||
username: randomWord(),
|
username: randomWord(),
|
||||||
domains: config.email.domains,
|
domains: config.email.domains,
|
||||||
madeby: config.branding[1]
|
madeby: config.branding[1],
|
||||||
|
madebysite: config.branding[2]
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -32,7 +33,8 @@ router.post(
|
||||||
username: req.body.username,
|
username: req.body.username,
|
||||||
domain: req.body.domain,
|
domain: req.body.domain,
|
||||||
userInputError: true,
|
userInputError: true,
|
||||||
madeby: config.branding[1]
|
madeby: config.branding[1],
|
||||||
|
madebysite: config.branding[2]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
<section class="container footer">
|
<section class="container footer">
|
||||||
<hr>
|
<hr>
|
||||||
<h4>48hr.email offered by <a href="{{ madeby }}" style="text-decoration:underline">CrazyCo</a> | All Emails will be deleted after 48hrs</h4>
|
<h4>48hr.email offered by <a href="{{ madebysite }}" style="text-decoration:underline">{{ madeby }}</a> | All Emails will be deleted after 48hrs</h4>
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue