Hexo部署到Github上后JS访问404

alexwan 发布于 2015/07/19 21:57
阅读 3K+
收藏 0

使用了hexo 在github部署了静态网页。域名使用的是阿里云的买的域名。能够访问页面,但是页面的效果是错的。查看了控制台

blog.alexwan1989.com/:542 GET http://blog.alexwan1989.com/blog/vendors/fancybox/source/jquery.fancybox.pack.js 
blog.alexwan1989.com/:447 GET http://blog.alexwan1989.com/blog/images/default_avatar.jpg 404 (Not Found)
blog.alexwan1989.com/:543 GET http://blog.alexwan1989.com/blog/js/fancy-box.js?v=0.4.4 
blog.alexwan1989.com/:529 GET http://blog.alexwan1989.com/blog/vendors/jquery/index.js?v=2.1.3 
blog.alexwan1989.com/:546 GET http://blog.alexwan1989.com/blog/js/helpers.js?v=0.4.4 
blog.alexwan1989.com/:24 GET http://blog.alexwan1989.com/blog/css/main.css?v=0.4.4 
blog.alexwan1989.com/:550 GET http://blog.alexwan1989.com/blog/vendors/velocity/velocity.ui.min.js 
(index):552 GET http://blog.alexwan1989.com/blog/js/motion_global.js?v=0.4.4 
(index):19 GET http://blog.alexwan1989.com/blog/vendors/fancybox/source/jquery.fancybox.css?v=2.1.5 
(index):556 GET http://blog.alexwan1989.com/blog/js/search-toggle.js 
(index):583 GET http://blog.alexwan1989.com/blog/js/lazyload.js 
(index):529 GET http://blog.alexwan1989.com/blog/images/default_avatar.jpg 404 (Not Found)





提示js 404

加载中
0
Feng_Yu
Feng_Yu
github pages正常吗。
alexwan
alexwan
http://alexwan1989.com/ 现在可以正常访问了
alexwan
alexwan
问题解决了 在_config 里面的url 路径不对
0
aheizi
aheizi
_config 里面的url应该设置为哪样?
返回顶部
顶部