1
eric 2015-10-09 17:53:57 +08:00
查下字体资源加载是不是有问题。
|
2
randyzhao 2015-10-09 17:56:24 +08:00
自己看 console 啊 一堆红
|
3
hging 2015-10-09 17:56:58 +08:00
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 2015-10-09 18:01:17 +08:00
location ~* \.(eot|ttf|woff)$ {
add_header Access-Control-Allow-Origin '*'; } |
5
huangtao728 2015-10-09 18:02:34 +08:00 via iPad
看到楼主想到之前楼主发的上一个帖子 /t/226155
里面的一个链接点进去会把数据库密码爆出来,不知道解决了没有? |
6
mayfio OP |
8
huangtao728 2015-10-09 18:10:45 +08:00 via iPad
@mayfio 其中的第二条附言
|
9
mayfio OP @huangtao728 3QQQQQQ 还有,我这个问题,改如何解决呢?我把
location ~* \.(eot|ttf|woff)$ { add_header Access-Control-Allow-Origin '*'; } 加上也不行呢? |
10
zhanghb 2015-10-09 18:27:09 +08:00
看起来像是跨域报错, 可以骚扰一下七牛的技术支持小哥
|