I am using laravel 5.4. I upload some document file in storage/app/public/documents folder like
$request->paper_file->store('documents');
and my file uploaded successfully.
in file system default storage is public and public conf is like
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',],
but when i hit /storage/documents/hQqlgifnVVH8bmrRPVdZ9aFGbhLmcc7g7bHZSX4u.pdf it says not found 404. How to solve this issue.
$request->file('paper')->store('documents')
but I'm not sure what yourpaper_file
bit is. – ceejayozhQqlgifnVVH8bmrRPVdZ9aFGbhLmcc7g7bHZSX4u
coming from, then? – ceejayoz