feat: increase maximum temporary file upload size to 40MB

This commit is contained in:
Yoga Pangestu 2026-05-13 22:47:02 +07:00
parent 694b8c7faa
commit 6d7b1d52d8

View File

@ -130,7 +130,7 @@
'temporary_file_upload' => [
'disk' => env('LIVEWIRE_TEMPORARY_FILE_UPLOAD_DISK'), // Example: 'local', 's3' | Default: 'default'
'rules' => ['required', 'file', 'max:25600'], // 25MB
'rules' => ['required', 'file', 'max:40000'], // 40MB
'directory' => null, // Example: 'tmp' | Default: 'livewire-tmp'
'middleware' => null, // Example: 'throttle:5,1' | Default: 'throttle:60,1'
'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs...
@ -274,7 +274,7 @@
*/
'payload' => [
'max_size' => 1024 * 1024 * 25, // 25MB - maximum request payload size in bytes
'max_size' => 1024 * 40, // 40MB - maximum request payload size in bytes
'max_nesting_depth' => 50, // Maximum depth of dot-notation property paths
'max_calls' => 50, // Maximum method calls per request
'max_components' => 20, // Maximum components per batch request