add config panel

This commit is contained in:
Éric Gaspar
2024-11-07 09:26:42 +01:00
parent 8e5ef1a4b3
commit e50cf3a545
4 changed files with 86 additions and 3 deletions

View File

@ -156,7 +156,7 @@ const conf = convict({
max_file_size: {
format: Number,
default: 1024 * 1024 * 1024 * 2.5,
env: 'MAX_FILE_SIZE'
env: '__MAX_FILE_SIZE__'
},
l10n_dev: {
format: Boolean,
@ -171,12 +171,12 @@ const conf = convict({
custom_title: {
format: String,
default: 'Send',
env: '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 dont stay online forever.',
env: 'CUSTOM_DESCRIPTION'
env: '__CUSTOM_DESCRIPTION__'
},
detect_base_url: {
format: Boolean,