Modify Custom API to retreieve/save data from Amazon s3 to CloudFront.
$10-30 USD
Selesai
Dibuat lebih dari 6 tahun yang lalu
$10-30 USD
Dibayar ketika dikirim
Hi,
I am currently uploading photos to s3 bucket and that s3 URL is being saved in the database.
not since a cloudfront url is automatically generated for any object that is uploaded to your bucket, the s3 url needs to be replaced with the cloudfront url when serving the images.
I want to do either option 1: it can be done either by creating another column in db for the generated cloudfront url and pulling that.
or option 2: replace the s3 url in the obtained url with cloudfront url when you are pulling it from database
Which I think option 2 is easier, So please I need somebody to fix that for me.
thank you,
regards.