We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ada42e commit 488c599Copy full SHA for 488c599
src/Controllers/DownloadController.php
@@ -23,7 +23,8 @@ public function getDownload()
23
return response()->streamDownload(
24
function () {
25
echo file_get_contents($disk->temporaryUrl($file->path('storage'), now()->addMinutes($duration)));
26
- }, $file_name);
+ }, $file_name
27
+ );
28
} else {
29
return response()->download($file->path('absolute'));
30
}
0 commit comments