Add configurable donate, CLI and DMCA and source links in footer

This commit is contained in:
timvisee 2021-01-27 00:13:56 +01:00
parent 7f3da34318
commit 6960cc75fa
No known key found for this signature in database
GPG key ID: B8DB720BC383E172
11 changed files with 98 additions and 9 deletions

View file

@ -13,6 +13,12 @@ module.exports = {
MAX_FILES_PER_ARCHIVE: config.max_files_per_archive,
MAX_ARCHIVES_PER_USER: config.max_archives_per_user
},
WEB_UI: {
FOOTER_DONATE_URL: config.footer_donate_url,
FOOTER_CLI_URL: config.footer_cli_url,
FOOTER_DMCA_URL: config.footer_dmca_url,
FOOTER_SOURCE_URL: config.footer_source_url
},
DEFAULTS: {
DOWNLOAD_COUNTS: config.download_counts,
EXPIRE_TIMES_SECONDS: config.expire_times_seconds,