Skip to content

Commit

Permalink
fix download url for cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinecraft committed Jun 3, 2024
1 parent 0d4b0d9 commit 09b8571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/DownloadController.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function download(Download $download)
if (! $isExternal) {
$file = $download->file;

return response()->download($file->getPath(), $download->file_name);
return $file;
}

if ($isExternal && $isExternalUrlHidden) {
Expand Down

0 comments on commit 09b8571

Please sign in to comment.