blocked CORS error occurred when I tried migrated my WordPress website from HTTP to HTTPS days ago. I’m trying to search from google and stack overflow but didn’t get any answer about it.
blocked CORS Error
Access to Font at 'https://programfault.com/wp-content/themes/xxxx' from origin 'http://programfault.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://programfault.com' is therefore not allowed access.
1.Checking header file and remove the tag if you have:
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">