2019-02-26 18:39:50 +00:00
|
|
|
const config = require('./config');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
LIMITS: {
|
|
|
|
MAX_FILE_SIZE: config.max_file_size,
|
|
|
|
MAX_DOWNLOADS: config.max_downloads,
|
|
|
|
MAX_EXPIRE_SECONDS: config.max_expire_seconds,
|
|
|
|
MAX_FILES_PER_ARCHIVE: config.max_files_per_archive,
|
|
|
|
MAX_ARCHIVES_PER_USER: config.max_archives_per_user
|
|
|
|
},
|
2021-01-26 23:13:56 +00:00
|
|
|
WEB_UI: {
|
|
|
|
FOOTER_DONATE_URL: config.footer_donate_url,
|
|
|
|
FOOTER_CLI_URL: config.footer_cli_url,
|
|
|
|
FOOTER_DMCA_URL: config.footer_dmca_url,
|
2022-04-12 13:58:58 +00:00
|
|
|
FOOTER_SOURCE_URL: config.footer_source_url,
|
|
|
|
COLORS: {
|
|
|
|
PRIMARY: config.ui_color_primary,
|
|
|
|
ACCENT: config.ui_color_accent
|
|
|
|
},
|
|
|
|
CUSTOM_ASSETS: config.ui_custom_assets
|
2021-01-26 23:13:56 +00:00
|
|
|
},
|
2019-02-26 18:39:50 +00:00
|
|
|
DEFAULTS: {
|
2021-06-04 12:03:58 +00:00
|
|
|
DOWNLOADS: config.default_downloads,
|
2019-02-26 18:39:50 +00:00
|
|
|
DOWNLOAD_COUNTS: config.download_counts,
|
|
|
|
EXPIRE_TIMES_SECONDS: config.expire_times_seconds,
|
|
|
|
EXPIRE_SECONDS: config.default_expire_seconds
|
|
|
|
}
|
|
|
|
};
|