Browse Source

Fix configuration

develop
Alice Gaudon 3 months ago
parent
commit
456b3a3170
2 changed files with 8 additions and 2 deletions
  1. +5
    -2
      config/default.json5
  2. +3
    -0
      config/production.json5

+ 5
- 2
config/default.json5 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,


+ 3
- 0
config/production.json5 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


Loading…
Cancel
Save