DocHub icon indicating copy to clipboard operation
DocHub copied to clipboard

V2.3 首页中推荐栏和频道栏不显示 文章列表

Open wpf123 opened this issue 5 years ago • 4 comments

wpf123 avatar Jul 11 '19 16:07 wpf123

同样的问题,我是按docker方式部署的,采用minio存储。首页中推荐栏和频道栏不显示,阅读页中的“最新文章”也是空白。

legendjslc avatar Nov 24 '19 14:11 legendjslc

你好,我已经找到问题了

------------------ 原始邮件 ------------------ 发件人: "legendjslc"<[email protected]>; 发送时间: 2019年11月24日(星期天) 晚上10:15 收件人: "TruthHun/DocHub"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: Re: [TruthHun/DocHub] V2.3 首页中推荐栏和频道栏不显示 文章列表 (#52)

同样的问题,我是按docker方式部署的,采用minio存储。首页中推荐栏和频道栏不显示,阅读页中的“最新文章”也是空白。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

13414897882 avatar Nov 24 '19 14:11 13414897882

你好,我已经找到问题了,只需要将public和private这两个绑定地址设置成x.x.x.x:9000/public和x.x.x.x:9000/private就可以正常预览了。

------------------ 原始邮件 ------------------ 发件人: "legendjslc"<[email protected]>; 发送时间: 2019年11月24日(星期天) 晚上10:15 收件人: "TruthHun/DocHub"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: Re: [TruthHun/DocHub] V2.3 首页中推荐栏和频道栏不显示 文章列表 (#52)

同样的问题,我是按docker方式部署的,采用minio存储。首页中推荐栏和频道栏不显示,阅读页中的“最新文章”也是空白。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

13414897882 avatar Nov 24 '19 14:11 13414897882

CloudStore\minio.go 有个过期时间小于0,临时办法默认加个 "/dochub-public" func (m *MinIO) GetSignURL(object string, expire int64) (link string, err error) { if expire <= 0 { link = m.Domain + "/dochub-public" + objectAbs(object) return } 让构建的url 能够拼出 http://192.168.99.100:9000/dochub-public/40ff84824b4c4b6aa2ec70194c06238c.jpg 的结构就能正常显示了

jht385 avatar Feb 20 '20 03:02 jht385