I have this line in a css file of my project:
@import url(http://reset5.googlecode.com/hg/reset.min.css);
That results in an error when I load the page when it's on my webserver
XMLHttpRequest cannot load http://reset5.googlecode.com/hg/reset.min.css. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://mydomain.ca' is therefore not allowed access. The response had HTTP status code 403.
I've read that the server hosting the .css file has to add an Access-Control-Allow-Origin *
thing on their web server but I'm not owning this so...
(I've also tried to add this
location ~* \.(eot|ttf|woff|css)$ {
add_header Access-Control-Allow-Origin *;
}
in my nginx config and it didn't help, but I don't think I have to change anything on my web server, do I?)