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 eeb8232 commit 9ada42eCopy full SHA for 9ada42e
src/Controllers/DownloadController.php
@@ -23,8 +23,7 @@ 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,
27
- );
+ }, $file_name);
28
} else {
29
return response()->download($file->path('absolute'));
30
}
0 commit comments