Help Center> Content Delivery Network> FAQs> Troubleshooting> Access Fails and the Access-Control-Allow-Origin Error Is Reported

Access Fails and the Access-Control-Allow-Origin Error Is Reported

This issue occurs due to the cross-origin setting.

Solution:

  1. Click the target domain name on the Domains page.
  2. On the Advanced Settings tab page, click Edit next to HTTP Header.
  3. Set Access-Control-Allow-Origin to * or a specified domain name.