1
eric Oct 9, 2015
查下字体资源加载是不是有问题。
|
2
randyzhao Oct 9, 2015
自己看 console 啊 一堆红
|
3
hging Oct 9, 2015
Font from origin 'http://7xn8qb.com1.z0.glb.clouddn.com' 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://codenode.cn' is therefore not allowed access. The response had HTTP status code 403.
看下原来地方的 nginx 配置 是不是没有增加两行 add_header 'Access-Control-Allow-Origin' '*'; add_header Access-Control-Allow-Headers X-Requested-With; |
4
randyzhao Oct 9, 2015
location ~* \.(eot|ttf|woff)$ {
add_header Access-Control-Allow-Origin '*'; } |
5
huangtao728 Oct 9, 2015 via iPad
看到楼主想到之前楼主发的上一个帖子 /t/226155
里面的一个链接点进去会把数据库密码爆出来,不知道解决了没有? |
6
mayfio OP |
8
huangtao728 Oct 9, 2015 via iPad
@mayfio 其中的第二条附言
|
9
mayfio OP @huangtao728 3QQQQQQ 还有,我这个问题,改如何解决呢?我把
location ~* \.(eot|ttf|woff)$ { add_header Access-Control-Allow-Origin '*'; } 加上也不行呢? |
10
zhanghb Oct 9, 2015
看起来像是跨域报错, 可以骚扰一下七牛的技术支持小哥
|