diff --git a/src/Components/Forms/Uploader.php b/src/Components/Forms/Uploader.php index a3ee422..5a51bd3 100644 --- a/src/Components/Forms/Uploader.php +++ b/src/Components/Forms/Uploader.php @@ -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(); }