refactor(config): Format preview_mimes array for improved readability and consistency in livewire configuration.
This commit is contained in:
parent
7e7ff93184
commit
0ca72f5055
@ -69,9 +69,22 @@
|
|||||||
'directory' => null, // Example: 'tmp' | Default: 'livewire-tmp'
|
'directory' => null, // Example: 'tmp' | Default: 'livewire-tmp'
|
||||||
'middleware' => null, // Example: 'throttle:5,1' | Default: 'throttle:60,1'
|
'middleware' => null, // Example: 'throttle:5,1' | Default: 'throttle:60,1'
|
||||||
'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs...
|
'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs...
|
||||||
'png', 'gif', 'bmp', 'svg', 'wav', 'mp4',
|
'png',
|
||||||
'mov', 'avi', 'wmv', 'mp3', 'm4a',
|
'gif',
|
||||||
'jpg', 'jpeg', 'mpga', 'webp', 'wma',
|
'bmp',
|
||||||
|
'svg',
|
||||||
|
'wav',
|
||||||
|
'mp4',
|
||||||
|
'mov',
|
||||||
|
'avi',
|
||||||
|
'wmv',
|
||||||
|
'mp3',
|
||||||
|
'm4a',
|
||||||
|
'jpg',
|
||||||
|
'jpeg',
|
||||||
|
'mpga',
|
||||||
|
'webp',
|
||||||
|
'wma',
|
||||||
],
|
],
|
||||||
'max_upload_time' => 5, // Max duration (in minutes) before an upload is invalidated...
|
'max_upload_time' => 5, // Max duration (in minutes) before an upload is invalidated...
|
||||||
'cleanup' => true, // Should cleanup temporary uploads older than 24 hrs...
|
'cleanup' => true, // Should cleanup temporary uploads older than 24 hrs...
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user