Fix configuration

This commit is contained in:
Alice Gaudon 2020-11-22 15:19:47 +01:00
parent aa8735cf23
commit 456b3a3170
2 changed files with 8 additions and 2 deletions

View File

@ -39,6 +39,9 @@
view: {
cache: false,
},
magic_link: {
validity_period: 20,
},
newlyGeneratedSlugSize: 3,
default_file_ttl: 30, // 30 seconds
max_upload_size: 16, // MB
@ -46,8 +49,8 @@
approval_mode: false,
domain: 'localhost',
allowed_url_domains: [
'localhost:4893',
'127.0.0.1:4893',
'localhost:4899',
'127.0.0.1:4899',
],
default_url_domain_for_files: 0,
default_url_domain_for_urls: 1,

View File

@ -12,6 +12,9 @@
secure: true,
allow_invalid_tls: false
},
magic_link: {
validity_period: 900,
},
newlyGeneratedSlugSize: 5,
default_file_ttl: 2592000, // 30 days
max_upload_size: 8192, // MB