constructed the app, created a react component, and uploaded the finished product to a public AWS S3 bucket. After that, I added the script to a standard HTML page (on a different domain). Everything functions perfectly, but the react app cannot locate the photos.
How could I fix this issue?