[英]Wordpress on Azure Error: Blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource
[英]WORDPRESS CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource
我正在开发的网站上遇到以下问题:
从源“ http://smartskills.tn ”访问“ http://localhost/smartskills/wp-content/themes/smart_skills_theme/template_helpers/icons/kl-social-icons/kl-social-icons.woff ”的字体已被 CORS 策略阻止:请求的资源上不存在“Access-Control-Allow-Origin”标头。 http://smartskills.tn/site/
在这个文件 smartskills.tn/site/wp-content/uploads/zn_dynamic.css?ver=1531211005.911 中将所有 //localhost/smartskills 替换为您的站点
清除缓存并检查。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.