iconfont.woff放置于服务器上,本地域名访问,
出现跨域提示:No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin …
解决方法,在location中增加add_header配置
location / {
add_header Access-Control-Allow-Origin *;
xxxx
}
iconfont.woff放置于服务器上,本地域名访问,
出现跨域提示:No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin …
解决方法,在location中增加add_header配置
location / {
add_header Access-Control-Allow-Origin *;
xxxx
}