Skip to content

Commit

Permalink
available downloading from s3
Browse files Browse the repository at this point in the history
i found this bug when i'm trying to connect with asw s3 storage
  • Loading branch information
rodrigocardenas authored Jan 12, 2022
1 parent 6f7a4fb commit b6c132b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/DownloadController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ public function getDownload()
abort(404);
}

return response()->download($file->path('absolute'));
return Storage::disk($this->helper->config('disk'))->download($file->path('storage'));
}
}

0 comments on commit b6c132b

Please sign in to comment.