Angularjs error: Font from source "http://getbootstrap.com" was blocked from loading by Cross-Origin Resource Sharing Policy

I am working on an Angularjs web application and I am almost done with my UI, but I am getting this error that says:

"Font from source" http://getbootstrap.com 'was blocked from loading due to Cross-Origin Resource Sharing Policy: No' Access-Control- Therefore the Allow-Origin header is present on the requested resource. Therefore the original "localhost" is not allowed. "

I have compared my code to other working code and I cannot find the problem. I also searched around to see if anyone has the same problem but everyone else has JQUERY or some type of JSON problem. This is a bootstrap error that really confuses me because I can't figure out exactly where in my code this error is given. Any ideas? Thanks to

change:

Here is a snippet of my dependencies:

    <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.8/angular-resource.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.10.0/ui-bootstrap-tpls.min.js"></script>
<!--<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>-->
<script src="//angular-ui.github.io/ui-router/release/angular-ui-router.js"></script>
<script src="user.js"></script>
<!--<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" media="screen">-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel = "stylesheet" type="text/css" href="css/bootstrap.css">
<link rel = "stylesheet" type="text/css" href="client_UI.css">

      

+3


source to share





All Articles