'disks' => [
'local' => [
- 'driver' => 'local',
- 'root' => public_path(),
- 'visibility' => 'public',
+ 'driver' => 'local',
+ 'root' => public_path(),
+ 'serve' => false,
+ 'throw' => true,
+ 'directory_visibility' => 'public',
],
'local_secure_attachments' => [
'driver' => 'local',
'root' => storage_path('uploads/files/'),
+ 'serve' => false,
+ 'throw' => true,
],
'local_secure_images' => [
- 'driver' => 'local',
- 'root' => storage_path('uploads/images/'),
- 'visibility' => 'public',
+ 'driver' => 'local',
+ 'root' => storage_path('uploads/images/'),
+ 'serve' => false,
+ 'throw' => true,
],
's3' => [
'bucket' => env('STORAGE_S3_BUCKET', 'your-bucket'),
'endpoint' => env('STORAGE_S3_ENDPOINT', null),
'use_path_style_endpoint' => env('STORAGE_S3_ENDPOINT', null) !== null,
+ 'throw' => true,
+ 'stream_reads' => false,
],
],