小编Ric*_*d74的帖子

如何在Firefox中显示Font Awesome图标?

我正在使用Font-Awesome-Sass-Rails gem用于图标字体,它们可以在所有浏览器中正常显示,但Firefox.我目前正在使用Cloudfront和Nginx.这是我的CORS配置:

<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    <CORSRule>
        <AllowedOrigin>*</AllowedOrigin>
        <AllowedMethod>GET</AllowedMethod>
        <MaxAgeSeconds>3000</MaxAgeSeconds>
        <AllowedHeader>*</AllowedHeader>
    </CORSRule>
</CORSConfiguration>
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?

ruby-on-rails sass nginx font-face amazon-cloudfront

2
推荐指数
1
解决办法
3104
查看次数