Fix missing customization in footer
I'm embarrased this was hardcoded for so long without me realizing... sowwypull/16/head
parent
1ba80a8b51
commit
347db6cbc7
|
@ -17,6 +17,7 @@ router.get('^/:address([^@/]+@[^@/]+)', sanitizeAddress, (req, res, _next) => {
|
||||||
title: `${config.http.branding[0]} | ` + req.params.address,
|
title: `${config.http.branding[0]} | ` + req.params.address,
|
||||||
address: req.params.address,
|
address: req.params.address,
|
||||||
mailSummaries: mailProcessingService.getMailSummaries(req.params.address),
|
mailSummaries: mailProcessingService.getMailSummaries(req.params.address),
|
||||||
|
servicename: config.http.branding[0],
|
||||||
madeby: config.http.branding[1],
|
madeby: config.http.branding[1],
|
||||||
madebysite: config.http.branding[2]
|
madebysite: config.http.branding[2]
|
||||||
})
|
})
|
||||||
|
@ -45,6 +46,7 @@ router.get(
|
||||||
address: req.params.address,
|
address: req.params.address,
|
||||||
mail,
|
mail,
|
||||||
uid: req.params.uid,
|
uid: req.params.uid,
|
||||||
|
servicename: config.http.branding[0],
|
||||||
madeby: config.http.branding[1],
|
madeby: config.http.branding[1],
|
||||||
madebysite: config.http.branding[2]
|
madebysite: config.http.branding[2]
|
||||||
})
|
})
|
||||||
|
@ -54,6 +56,7 @@ router.get(
|
||||||
{
|
{
|
||||||
address: req.params.address,
|
address: req.params.address,
|
||||||
message: 'This mail could not be found. It either does not exist or has been deleted from our servers!',
|
message: 'This mail could not be found. It either does not exist or has been deleted from our servers!',
|
||||||
|
servicename: config.http.branding[0],
|
||||||
madeby: config.http.branding[1],
|
madeby: config.http.branding[1],
|
||||||
madebysite: config.http.branding[2],
|
madebysite: config.http.branding[2],
|
||||||
}
|
}
|
||||||
|
@ -128,6 +131,7 @@ router.get(
|
||||||
{
|
{
|
||||||
address: req.params.address,
|
address: req.params.address,
|
||||||
message: 'This attachment could not be found. It either does not exist or has been deleted from our servers!',
|
message: 'This attachment could not be found. It either does not exist or has been deleted from our servers!',
|
||||||
|
servicename: config.http.branding[0],
|
||||||
madeby: config.http.branding[1],
|
madeby: config.http.branding[1],
|
||||||
madebysite: config.http.branding[2],
|
madebysite: config.http.branding[2],
|
||||||
}
|
}
|
||||||
|
@ -168,6 +172,7 @@ router.get(
|
||||||
{
|
{
|
||||||
address: req.params.address,
|
address: req.params.address,
|
||||||
message: 'This mail could not be found. It either does not exist or has been deleted from our servers!',
|
message: 'This mail could not be found. It either does not exist or has been deleted from our servers!',
|
||||||
|
servicename: config.http.branding[0],
|
||||||
madeby: config.http.branding[1],
|
madeby: config.http.branding[1],
|
||||||
madebysite: config.http.branding[2],
|
madebysite: config.http.branding[2],
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@ router.get('/', (req, res, _next) => {
|
||||||
title: `${config.http.branding[0]} | Your temporary Inbox`,
|
title: `${config.http.branding[0]} | Your temporary Inbox`,
|
||||||
username: randomWord(),
|
username: randomWord(),
|
||||||
domains: config.email.domains,
|
domains: config.email.domains,
|
||||||
|
servicename: config.http.branding[0],
|
||||||
madeby: config.http.branding[1],
|
madeby: config.http.branding[1],
|
||||||
madebysite: config.http.branding[2]
|
madebysite: config.http.branding[2]
|
||||||
})
|
})
|
||||||
|
@ -42,6 +43,7 @@ router.post(
|
||||||
title: `${config.http.branding[0]} | Your temporary Inbox`,
|
title: `${config.http.branding[0]} | Your temporary Inbox`,
|
||||||
username: randomWord(),
|
username: randomWord(),
|
||||||
domains: config.email.domains,
|
domains: config.email.domains,
|
||||||
|
servicename: config.http.branding[0],
|
||||||
madeby: config.http.branding[1],
|
madeby: config.http.branding[1],
|
||||||
madebysite: config.http.branding[2]
|
madebysite: config.http.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="{{ madebysite }}" style="text-decoration:underline" target="_blank">{{ madeby }}</a> | All Emails will be deleted after 48hrs | This project is <a href="https://github.com/crazyco-xyz/48hr.email" style="text-decoration:underline" target="_blank">open-source ♥</a></h4>
|
<h4>{{ servicename }} offered by <a href="{{ madebysite }}" style="text-decoration:underline" target="_blank">{{ madeby }}</a> | All Emails will be deleted after 48hrs | This project is <a href="https://github.com/crazyco-xyz/48hr.email" style="text-decoration:underline" target="_blank">open-source ♥</a></h4>
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue