Unable to fetch data from S3 artifacts due to No 'Access-Control-Allow-Origin' header

We are using circleci artifacts to generate allure report.
Everything worked good before, however from yesterday, the report is unable to fetch data from CircleCI artifacts.

The console error shows:

Access to XMLHttpRequest at ‘https://circle-production-customer-artifacts.s3.amazonaws.com/…’ (redirected from ‘https://xxx.circle-artifacts.com/0/test-reports/amp_test/data/timeline.json’) from origin ‘https://xxx-gh.circle-artifacts.com’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Seems like the S3 url’s response does not contain “Access-Control-Allow-Origin” header.

Hi there

This issue was caused by a recent change to how artifacts are being served.

We have made some tweaks and Allure reports should now be displaying correctly.

@glenjamin.circleci Base report is loaded, but when I try open any artefacts, loading failed on CORSE Policy