F
Filament9mo ago
Romi

File Upload

Hi , I have set up s3 and images are getting uploaded to a folder called livewire-tmp/ even though I definded it to store in a public/ folder. even my db stores it as public/filename.jpg because of this my db and filenames dont match so cannot use the images
1 Reply
DrByte
DrByte9mo ago
The livewire-tmp directory is only temporary, and is purged periodically, so don't ever rely on files in that directory. Let Livewire handle that directory. It sounds like maybe you've got incorrect parameters set in your FileUpload component, and maybe you don't have Laravel's symlink set up using artisan storage:link Please post your FileUpload component code.
Want results from more Discord servers?
Add your server