ily.li/oldsrc/config/production.json5

37 lines
612 B
Plaintext
Raw Normal View History

2020-11-02 18:17:55 +01:00
{
2021-03-30 16:56:35 +02:00
log_level: "DEBUG",
db_log_level: "ERROR",
public_url: 'https://ily.li',
public_websocket_url: 'wss://ily.li',
2021-03-30 16:56:35 +02:00
session: {
cookie: {
secure: true
2021-03-30 16:56:35 +02:00
},
},
mail: {
secure: true,
allow_invalid_tls: false
2021-03-30 16:56:35 +02:00
},
magic_link: {
validity_period: 900,
},
newlyGeneratedSlugSize: 5,
// 30 days
default_file_ttl: 2592000,
// MB
max_upload_size: 8192,
// MB
max_hotlink_size: 128,
auth: {
approval_mode: true,
},
domain: 'ily.li',
allowed_url_domains: [
'ily.li',
],
default_url_domain_for_files: 0,
default_url_domain_for_urls: 0,
// 1 day in ms
delete_old_files_interval: 86400000
}