I wanted to upload the files in an upload folder instead of the default public.
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL') . '/storage',
'visibility' => 'public',
'throw' => false,
],
'uploads' => [
'driver' => 'local',
'root' => storage_path('app/uploads'),
'url' => env('APP_URL') . '/storage/uploads',
'visibility' => 'public',
'throw' => false,
],
This is the filesystem.php
the uploaded files currently look like that.