mirror of
https://github.com/timvisee/send.git
synced 2025-10-03 09:49:14 +02:00
Add customizable notice on main page and in downloads list
This commit is contained in:
parent
c71100c82a
commit
d0f21e8078
4 changed files with 37 additions and 0 deletions
|
@ -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: '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue