测试网站
http://my.bemaking.com/UPLOAD/
图标(字体生成的图标不能显示)
看了一些资料,但还是不行,可能是nginx设置的问题。但是不得要领。
根据网上资料加上了。
if ($request_filename ~* ^.*?/([^/]*?)$){ set $filename $1; }
if ($filename ~* ^.*?\.(eot)|(ttf)|(woff)$){ add_header Access-Control-Allow-Origin *; }
但错误还是一样。
错误显示:
downloadable font: post: table overruns end of file (font-family: "icomoon" style:normal weight:normal stretch:normal src index:2) source: http://test.bemaking.com/static/fonts/icomoon.ttf?npzd73 icon.css:1:12
downloadable font: rejected by sanitizer (font-family: "icomoon" style:normal weight:normal stretch:normal src index:2) source: http://test.bemaking.com/static/fonts/icomoon.ttf?npzd73 icon.css:1:12
downloadable font: no supported format found (font-family: "icomoon" style:normal weight:normal stretch:normal src index:4) source: (end of source list)
阅读全文
收起全文