From d9b3b279f6a8b905a8713f7021ef2590292ea3a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:14:02 +0100 Subject: [PATCH] Update config.js --- conf/config.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/conf/config.js b/conf/config.js index d21200c..858e578 100644 --- a/conf/config.js +++ b/conf/config.js @@ -74,8 +74,8 @@ const conf = convict({ }, max_downloads: { format: Number, - default: 100, - env: '__MAX_DOWNLOADS__' + default: __MAX_DOWNLOADS__, + env: 'MAX_DOWNLOADS' }, max_files_per_archive: { format: Number, @@ -155,8 +155,8 @@ const conf = convict({ }, max_file_size: { format: Number, - default: 1024 * 1024 * 1024 * 2.5, - env: __MAX_FILE_SIZE__ * 1024 * 1024, + default: __MAX_FILE_SIZE__ * 1024 * 1024, + env: 'MAX_FILE_SIZE' }, l10n_dev: { format: Boolean, @@ -170,13 +170,13 @@ const conf = convict({ }, custom_title: { format: String, - default: 'Send', - env: '__CUSTOM_TITLE__' + default: '__CUSTOM_TITLE__', + env: 'CUSTOM_TITLE' }, custom_description: { format: String, - default: 'Encrypt and send files with a link that automatically expires to ensure your important documents don’t stay online forever.', - env: '__CUSTOM_DESCRIPTION__' + default: '__CUSTOM_DESCRIPTION__', + env: 'CUSTOM_DESCRIPTION' }, detect_base_url: { format: Boolean,