遠程訪問 iconfont.woff 的跨域問題 Access-Control-Allow-Origin

iconfont.woff放置於服務器上,本地域名訪問, 出現跨域提示:No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin …web 解決方法,在location中增長add_header配置 location / { add_header Access-Control-Allow
相關文章
相關標籤/搜索