add admin email

This commit is contained in:
b1ek 2023-03-04 15:55:24 +10:00
parent 42c6524c27
commit 569d69367d
Signed by: blek
GPG Key ID: 14546221E3595D0C
2 changed files with 10 additions and 2 deletions

View File

@ -2,4 +2,6 @@ APP_PORT=8080
APP_DEBUG=false
MAXLEN=5120
MAXFILES=128
MAXFILES=128
ADMIN_EMAIL=john.doe@example.com

View File

@ -11,4 +11,10 @@ block content
p(style='color:darkred;font-weight:bold;font-size:9pt' align='center')
| Max uploads limit exceeded. No more uploads would be accepted.
br
| Contact site administrator so they would increase the limit or delete some upload.
| Contact site administrator so they would increase the limit or delete some uploads.
if (process.env.ADMIN_EMAIL)
- let email = process.env.ADMIN_EMAIL;
br
br
| Admin email is:
a(href='mailto:' + email)= email