【发布时间】:2016-06-05 10:33:17
【问题描述】:
作为标题,
我想在http://here/blog 中运行 hexo,所以我尝试像这样编辑_config:
url: http://here/blog
root: /blog/
但是在hexo generate之后,index.html中的链接是这样的
<script src="/js/pace.js"></script>
但不是
<script src="/blog/js/pace.js"></script>
这是我的目录的样子
main
├app.js <-main js
├blog <-the folder which hexo generate gives me
├ ...something other
谢谢你的帮助!
【问题讨论】:
标签: node.js express subdirectory hexo