Help Center> Content Delivery Network> FAQs> Troubleshooting> What Do I Do If the Browser Displays a Message Indicating that a Cross-domain Exception Occurs After CDN Is Enabled?
Updated on 2024-02-26 GMT+08:00

What Do I Do If the Browser Displays a Message Indicating that a Cross-domain Exception Occurs After CDN Is Enabled?

The possible reason is that some resources in the cross-domain request did not respond to the message header Access-Control-Allow-Origin. You can configure the response header information based on the domain name requirements. For details, see HTTP Header Settings (Cross-origin Requests).

To prevent cross-domain errors caused by browser cache, clear browser cache after configuring Access-Control-Allow-Origin.

Troubleshooting FAQs

more