CORS policy and rum

Hi

since i transfered my domain to Cloudflare registrar and I put the script of Analytics I have the following error

Access to XMLHttpRequest at ‘https://cloudflareinsights.com/cdn-cgi/rum’ from origin ‘https://127.0.0.1:8000’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: The ‘Access-Control-Allow-Origin’ header has a value ‘https://127.0.0.1’ that is not equal to the supplied origin.

POST https://cloudflareinsights.com/cdn-cgi/rum net::ERR_FAILED

What do i need to do?

thanks

Sounds like it’s because you are accessing your localhost website in port 8000?

yes because i’m using a django framework and we access on this domain the localhost website

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