Files
toolbox/config/toolbox.php
T
2026-08-12 18:00:09 +08:00

21 lines
569 B
PHP

<?php
return [
'admin_host' => strtolower((string) env('TOOLBOX_ADMIN_HOST', 'toolbox.local')),
'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',
],
],
];