嗨我想在我的窗口设置我的wamp并且我有几个CDN文件要加载。然而, 当我试图加载我的页面时。我得到了一堆错误说403禁止。有人可以帮我解决这个问题吗?感谢
我的index.html在
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>
错误
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)
答案 0 :(得分:3)
您忘记了源代码末尾的.js
。应该是:
<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>