Answer the question
In order to leave comments, you need to log in
Will there be any difference in giving the file to the user between these lines of code?
The variant used in the documentation
return response()->download(Storage::disk('my_files')->path($file->path), $file->name);
return Storage::disk('my_files')->download($file->path, $file->name);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question