Add customizable notice on main page and in downloads list

This commit is contained in:
timvisee 2025-04-23 10:07:40 +02:00
parent c71100c82a
commit d0f21e8078
No known key found for this signature in database
GPG key ID: B8DB720BC383E172
4 changed files with 37 additions and 0 deletions

View file

@ -264,11 +264,21 @@ const conf = convict({
default: '',
env: 'CUSTOM_FOOTER_URL'
},
main_notice_html: {
format: String,
default: '',
env: 'SEND_MAIN_NOTICE_HTML'
},
upload_area_warning_html: {
format: String,
default: '',
env: 'SEND_UPLOAD_AREA_WARNING_HTML'
},
download_list_notice_html: {
format: String,
default: '',
env: 'SEND_DOWNLOAD_LIST_NOTICE_HTML'
},
download_warning_html: {
format: String,
default: '',