Update cron commands default config
This commit is contained in:
parent
a18cb59a35
commit
722ba6708b
|
@ -20,8 +20,28 @@ sub run {
|
||||||
my $config = $c->app->plugin('Config', {
|
my $config = $c->app->plugin('Config', {
|
||||||
file => $cfile,
|
file => $cfile,
|
||||||
default => {
|
default => {
|
||||||
dbtype => 'sqlite',
|
prefix => '/',
|
||||||
keep_ip_during => 365,
|
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',
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,28 @@ sub run {
|
||||||
my $config = $c->app->plugin('Config', {
|
my $config = $c->app->plugin('Config', {
|
||||||
file => $cfile,
|
file => $cfile,
|
||||||
default => {
|
default => {
|
||||||
dbtype => 'sqlite',
|
prefix => '/',
|
||||||
upload_dir => 'files',
|
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',
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,28 @@ sub run {
|
||||||
my $config = $c->app->plugin('Config', {
|
my $config = $c->app->plugin('Config', {
|
||||||
file => $cfile,
|
file => $cfile,
|
||||||
default => {
|
default => {
|
||||||
dbtype => 'sqlite',
|
prefix => '/',
|
||||||
upload_dir => 'files',
|
provisioning => 100,
|
||||||
policy_when_full => 'warn'
|
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',
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue