20 lines
483 B
PHP
20 lines
483 B
PHP
<?php
|
|
|
|
return [
|
|
'admin_ips' => array_values(array_filter(array_map(
|
|
static fn(string $ip): string => trim($ip),
|
|
explode(',', (string) env('TOOLBOX_ADMIN_IPS', ''))
|
|
))),
|
|
'operation_log' => [
|
|
'methods' => ['POST', 'PUT', 'PATCH', 'DELETE'],
|
|
'max_payload_length' => 2000,
|
|
'redact_keys' => [
|
|
'content',
|
|
'password',
|
|
'token',
|
|
'authorization',
|
|
'api_token',
|
|
],
|
|
],
|
|
];
|