mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2024-11-23 14:31:36 +01:00
Update config.js
This commit is contained in:
parent
d3834d4bb3
commit
d9b3b279f6
@ -74,8 +74,8 @@ const conf = convict({
|
|||||||
},
|
},
|
||||||
max_downloads: {
|
max_downloads: {
|
||||||
format: Number,
|
format: Number,
|
||||||
default: 100,
|
default: __MAX_DOWNLOADS__,
|
||||||
env: '__MAX_DOWNLOADS__'
|
env: 'MAX_DOWNLOADS'
|
||||||
},
|
},
|
||||||
max_files_per_archive: {
|
max_files_per_archive: {
|
||||||
format: Number,
|
format: Number,
|
||||||
@ -155,8 +155,8 @@ const conf = convict({
|
|||||||
},
|
},
|
||||||
max_file_size: {
|
max_file_size: {
|
||||||
format: Number,
|
format: Number,
|
||||||
default: 1024 * 1024 * 1024 * 2.5,
|
default: __MAX_FILE_SIZE__ * 1024 * 1024,
|
||||||
env: __MAX_FILE_SIZE__ * 1024 * 1024,
|
env: 'MAX_FILE_SIZE'
|
||||||
},
|
},
|
||||||
l10n_dev: {
|
l10n_dev: {
|
||||||
format: Boolean,
|
format: Boolean,
|
||||||
@ -170,13 +170,13 @@ const conf = convict({
|
|||||||
},
|
},
|
||||||
custom_title: {
|
custom_title: {
|
||||||
format: String,
|
format: String,
|
||||||
default: 'Send',
|
default: '__CUSTOM_TITLE__',
|
||||||
env: '__CUSTOM_TITLE__'
|
env: 'CUSTOM_TITLE'
|
||||||
},
|
},
|
||||||
custom_description: {
|
custom_description: {
|
||||||
format: String,
|
format: String,
|
||||||
default: 'Encrypt and send files with a link that automatically expires to ensure your important documents don’t stay online forever.',
|
default: '__CUSTOM_DESCRIPTION__',
|
||||||
env: '__CUSTOM_DESCRIPTION__'
|
env: 'CUSTOM_DESCRIPTION'
|
||||||
},
|
},
|
||||||
detect_base_url: {
|
detect_base_url: {
|
||||||
format: Boolean,
|
format: Boolean,
|
||||||
|
Loading…
Reference in New Issue
Block a user