UsamaAamir's avatar

Livewire TempFileUploads issue with canvas (cropper js)

Hi Everyone, I am trying to crop an image, and the storage directory is connected to a digitalocean bucket, and if I try to crop a Livewire temporary uploaded file, it give me a cors error, using local storage works fine and croppinf permanently stored images works fine, here are more details on the issue I posted in StackOverflow, haven't gotten a solution yet, any help would be appreciated. stackoverflow.com/questions/77818432/cors-on-cropper-js-while-cropping-only

0 likes
2 replies
hupp's avatar

@usamaaamir Check CORS settings on DigitalOcean: Ensure that your DigitalOcean bucket is configured to allow requests from the domain where your Livewire component is hosted. You can set CORS rules for your bucket to specify which domains are allowed to make requests.

UsamaAamir's avatar

@hupp already done if you can open the stack overflow link provided you will see more details.

Please or to participate in this conversation.