Configurable branding pt. 3

pull/1/head
ClaraCrazy 2023-11-01 12:40:27 +01:00
parent 4becfb7d81
commit 965c5cf73b
2 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,8 @@ router.get('/', (req, res, _next) => {
title: `${config.branding[0]} | Your temporary Inbox`,
username: randomWord(),
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,
domain: req.body.domain,
userInputError: true,
madeby: config.branding[1]
madeby: config.branding[1],
madebysite: config.branding[2]
})
}

View File

@ -28,7 +28,7 @@
{% block footer %}
<section class="container footer">
<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>
{% endblock %}