Update cron commands default config

This commit is contained in:
Luc Didry 2018-10-24 17:23:46 +02:00
parent a18cb59a35
commit 722ba6708b
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C
3 changed files with 66 additions and 7 deletions

View File

@ -20,8 +20,28 @@ sub run {
my $config = $c->app->plugin('Config', {
file => $cfile,
default => {
dbtype => 'sqlite',
keep_ip_during => 365,
prefix => '/',
provisioning => 100,
provis_step => 5,
length => 10,
token_length => 32,
secrets => ['hfudsifdsih'],
default_delay => 0,
max_delay => 0,
mail => {
how => 'sendmail'
},
mail_sender => 'no-reply@lufi.io',
theme => 'default',
upload_dir => 'files',
session_duration => 3600,
allow_pwd_on_files => 0,
dbtype => 'sqlite',
db_path => 'lufi.db',
force_burn_after_reading => 0,
x_frame_options => 'DENY',
x_content_type_options => 'nosniff',
x_xss_protection => '1; mode=block',
}
});

View File

@ -20,8 +20,28 @@ sub run {
my $config = $c->app->plugin('Config', {
file => $cfile,
default => {
dbtype => 'sqlite',
upload_dir => 'files',
prefix => '/',
provisioning => 100,
provis_step => 5,
length => 10,
token_length => 32,
secrets => ['hfudsifdsih'],
default_delay => 0,
max_delay => 0,
mail => {
how => 'sendmail'
},
mail_sender => 'no-reply@lufi.io',
theme => 'default',
upload_dir => 'files',
session_duration => 3600,
allow_pwd_on_files => 0,
dbtype => 'sqlite',
db_path => 'lufi.db',
force_burn_after_reading => 0,
x_frame_options => 'DENY',
x_content_type_options => 'nosniff',
x_xss_protection => '1; mode=block',
}
});

View File

@ -21,9 +21,28 @@ sub run {
my $config = $c->app->plugin('Config', {
file => $cfile,
default => {
dbtype => 'sqlite',
upload_dir => 'files',
policy_when_full => 'warn'
prefix => '/',
provisioning => 100,
provis_step => 5,
length => 10,
token_length => 32,
secrets => ['hfudsifdsih'],
default_delay => 0,
max_delay => 0,
mail => {
how => 'sendmail'
},
mail_sender => 'no-reply@lufi.io',
theme => 'default',
upload_dir => 'files',
session_duration => 3600,
allow_pwd_on_files => 0,
dbtype => 'sqlite',
db_path => 'lufi.db',
force_burn_after_reading => 0,
x_frame_options => 'DENY',
x_content_type_options => 'nosniff',
x_xss_protection => '1; mode=block',
}
});