mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2025-07-01 14:37:09 +02:00
Configurable branding pt. 3
This commit is contained in:
parent
4becfb7d81
commit
965c5cf73b
2 changed files with 5 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue