How to disable CORS restriction?

Hello how are you? I want to use assets from another site of mine, I have access to the origin server, how can I configure the Web Server so it doesn’t apply CORS rules?

I’m loading the page “example .com” in it I call assets that are in “assets .com” the sources refuse to load and show the CORS error (has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.)

I followed exactly what is written in the link and it didn’t work when I filled in the “LOCATION”, can I leave it blank? So it worked, will there be any side effects?

It was like this:

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.