We have an issue with bootstrap 3.3.5, Graphicons are not working if using bootstrap css from ASPNETCDN
Below is error message:
Font from origin 'http://ajax.aspnetcdn.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://fiddle.jshell.net' is therefore not allowed access.
This is a demo http://jsfiddle.net/g7jt1tcd/4/
I did search around but still not having relevant information. Can you please give some advice to fix this problem?
This looks like a configuration issue with ASPNETCDN. My suggestion is to use a different CDN since you don't have any control over there servers. Here are 2 other CDNs that I would recommend:
Example:
<script>https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.css</script>
Both CDNs have high availability. I just tested them against jsfiddle and worked without a problem.
See here: http://jsfiddle.net/g7jt1tcd/4/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With