nginx跨域解决方案
Access to Font at ‘http://47.104.86.187/yinjiatoupiao2/iconfont/iconfont.woff’ from origin ‘http://wxserver.knowway.cn’ has been blocke
改nginx.conf
http
{
.....
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers X-Requested-With;
add_header Access-Control-Allow-Methods GET,POST,OPTIONS;.....
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/1333.html