Open wangkezun opened 7 years ago
@withlqs default.hbs下的http://pv.sohu.com/cityjson改成https://pv.sohu.com/cityjson就可以了。
谢谢各位的讨论,顺便点个 Star 呗。😘
via Toxni's iPhone
On 21 Feb 2017, at 5:29 PM, Tyrael notifications@github.com wrote:
@withlqs default.hbs下的http://pv.sohu.com/cityjson改成https://pv.sohu.com/cityjson就可以了。
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
我这边http://pv.sohu.com/cityjson 报403错误; 我给改成了http://freegeoip.net/json/?callback=loc
<script type="text/javascript" >
var returnCitySN ;
function loc (pos) {
returnCitySN = {cip:pos.ip, cid: pos.country_code, cname: pos.country_name };
}
</script>
<script type="text/javascript" src="http://freegeoip.net/json/?callback=loc"></script>
我也发现这个情况了,这会导致Chrome下白屏。Edge暂时没问题。