Set up Cross-origin resource sharing (CORS) for your bucket - AWS Transfer Family
Set up cross origin resource sharing which defines a way for a client web application that is loaded in one domain to interact with resources in a different domain.