Skip to content

Commit

Permalink
Merge pull request #563 from rojtjo/fix/s3-double-root
Browse files Browse the repository at this point in the history
Fix double root issue
  • Loading branch information
awcodes authored Dec 28, 2024
2 parents ffa3342 + 4fb0880 commit 22542cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Forms/Uploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ protected function setUp(): void

if (is_media_resizable($file->getMimeType())) {
if (in_array(config('livewire.temporary_file_upload.disk'), config('curator.cloud_disks')) && config('livewire.temporary_file_upload.directory') !== null) {
$content = Storage::disk($component->getDiskName())->get($file->path());
$content = $file->get();
} else {
$content = $file->getRealPath();
}
Expand Down

0 comments on commit 22542cf

Please sign in to comment.