Creating a custom /upload endpoint in my controller

i don’t know if this code will standard upload the images to your s3 bucket. I think you have to check it. I would say if you have configured that as your uploads folders it should work but you have to test it.