Merge branch 'boilerplate' into develop
This commit is contained in:
commit
9ef3a07f5f
@ -42,11 +42,18 @@
|
|||||||
magic_link: {
|
magic_link: {
|
||||||
validity_period: 20,
|
validity_period: 20,
|
||||||
},
|
},
|
||||||
newlyGeneratedSlugSize: 3,
|
auth: {
|
||||||
default_file_ttl: 30, // 30 seconds
|
|
||||||
max_upload_size: 16, // MB
|
|
||||||
max_hotlink_size: 1, // MB
|
|
||||||
approval_mode: false,
|
approval_mode: false,
|
||||||
|
// 30 days
|
||||||
|
name_change_wait_period: 2592000000,
|
||||||
|
},
|
||||||
|
newlyGeneratedSlugSize: 3,
|
||||||
|
// 30 seconds
|
||||||
|
default_file_ttl: 30,
|
||||||
|
// MB
|
||||||
|
max_upload_size: 16,
|
||||||
|
// MB
|
||||||
|
max_hotlink_size: 1,
|
||||||
domain: 'localhost',
|
domain: 'localhost',
|
||||||
allowed_url_domains: [
|
allowed_url_domains: [
|
||||||
'localhost:4899',
|
'localhost:4899',
|
||||||
@ -54,7 +61,6 @@
|
|||||||
],
|
],
|
||||||
default_url_domain_for_files: 0,
|
default_url_domain_for_files: 0,
|
||||||
default_url_domain_for_urls: 1,
|
default_url_domain_for_urls: 1,
|
||||||
|
|
||||||
// 1 hour in ms
|
// 1 hour in ms
|
||||||
delete_old_files_interval: 3600000,
|
delete_old_files_interval: 3600000,
|
||||||
}
|
}
|
||||||
|
@ -16,17 +16,21 @@
|
|||||||
validity_period: 900,
|
validity_period: 900,
|
||||||
},
|
},
|
||||||
newlyGeneratedSlugSize: 5,
|
newlyGeneratedSlugSize: 5,
|
||||||
default_file_ttl: 2592000, // 30 days
|
// 30 days
|
||||||
max_upload_size: 8192, // MB
|
default_file_ttl: 2592000,
|
||||||
max_hotlink_size: 128, // MB
|
// MB
|
||||||
|
max_upload_size: 8192,
|
||||||
|
// MB
|
||||||
|
max_hotlink_size: 128,
|
||||||
|
auth: {
|
||||||
approval_mode: true,
|
approval_mode: true,
|
||||||
|
},
|
||||||
domain: 'ily.li',
|
domain: 'ily.li',
|
||||||
allowed_url_domains: [
|
allowed_url_domains: [
|
||||||
'ily.li',
|
'ily.li',
|
||||||
],
|
],
|
||||||
default_url_domain_for_files: 0,
|
default_url_domain_for_files: 0,
|
||||||
default_url_domain_for_urls: 0,
|
default_url_domain_for_urls: 0,
|
||||||
|
|
||||||
// 1 day in ms
|
// 1 day in ms
|
||||||
delete_old_files_interval: 86400000
|
delete_old_files_interval: 86400000
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user