Font-awesome not properly displaying on Firefox / how to vend via CDN?

后端 未结 5 853
无人共我
无人共我 2020-12-09 05:20

I can\'t get font-awesome to display properly in firefox, even in localhost. I\'m receiving the following cross domain error:

Timestamp: 08/08/2012 02:49:37          


        
5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-09 05:52

    If you're using AWS Cloudfront as in my case, you'll need to add a CORS Policy. S3 intentionally won't allow you to set the headers during upload because you need to use the policy instead.

    This policy configuration should do the trick for you:

    
     
       *
       GET
     
    
    

    This will get Font-Awesome working from a CDS on Firefox and Internet Explorer (IE).

提交回复
热议问题