FlyingCat
FlyingCat

Reputation: 14250

Error loading CDN in my case

hi I am trying to setup my wamp in my windows and I have couple CDN files to load. However, when I tried to load my page. I got bunch of errors saying 403 forbidden. Can someone help me to solve this? Thanks

my index.html is in

wamp/www/test/index.html

<script src="//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.2/backbone-min"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min"></script>

error

GET http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.2/backbone-min 403 (Forbidden) 
GET http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min"> 403 (Forbidden) 

Upvotes: 0

Views: 1479

Answers (1)

Code Maverick
Code Maverick

Reputation: 20415

You forgot the .js at the end of your sources. Should be:

<script src="//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.2/backbone-min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>

Upvotes: 4

Related Questions