Font from origin 'http:/XXXX' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://XXXX' is therefore not allowed access.

 

1:打开访问的资源iis,在HTTP 响应表头中添加代码名称:Access-Control-Allow-Origin值:*

2:重启IIS 正常。

注意添加后此目录可能绕过同源策略引发安全漏洞。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
  • 2021-07-07
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
猜你喜欢
  • 2021-12-23
  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
相关资源
相似解决方案