Without testing, I think you should be able to add another parameter 'public' to the storeAs() function.
$file->storeAs($path, $fileName, 'public');
Then, assuming you store the path somewhere, you can do the following to access the file and either show or download it:
{{ asset('storage/' . $file->path) }}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community