Hello,
create only one entity as texture media and gave image URL, which is uploaded on AWS S3.
Here when set image URL with cloud front gives CORS error, while without cloudfront is working fine.
following line gives error.
imageEntity.updateMedia(new Texture(“https://d3ebz20uyak31w.cloudfront.net/uploads/asset/1664535505959/swivel-icon.png”))
Following line working fine:
imageEntity.updateMedia(new Texture(“https://sm-api-dev.s3.amazonaws.com/uploads/asset/1664535505959/swivel-icon.png”))
Please suggest possible solution.