“随机阅读”/“相关阅读”链接错误 #149

Closed
conanca opened this Issue Dec 26, 2012 · 1 comment

Projects

None yet

2 participants

@conanca
conanca commented Dec 26, 2012

B3log Solo for MySQL 部署在指定 ${contextPath} 下时,链接不带 ${contextPath},而是直接在域名的 /,从而导致 404 错误。

@88250 88250 was assigned Dec 26, 2012
@88250
Member
88250 commented Dec 26, 2012

嗯,的确有这个问题。

你可以分别修改 page.js 中的 loadRandomArticles/loadRelevantArticles 两个函数,在构造文章链接的地方加上

<a .... href='" + latkeConfig.servePath + ....

这个 bug 将在 0.5.6 修复,谢谢 :-p

@88250 88250 closed this Dec 26, 2012
@88250 88250 added a commit that referenced this issue Feb 19, 2013
@88250 88250 Fixed #149 135bb0b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment