Fontawesome Cross origin issues
问题 I want to load Fontawesome from a CDN but I get failed cross-origin request. Resource access is restricted I know that to fix this a HTTP header should be added, but is there any way to avoid doing this? I tried replacing '../font/fontawesome-webfont.eot?v=3.2.0') with full urls but it didnt help for some reason. Is there anything that can be done without the header? 回答1: This is browsers’ same-origin policy restrictions http://www.w3.org/TR/css3-fonts/#same-origin-restriction. If you are