Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dochub2.4各种依赖环境已经配置好,并且可以正常转换,但是预览时,页面空白,部署的是本地minio服务 #60

Open
13414897882 opened this issue Nov 17, 2019 · 3 comments

Comments

@13414897882
Copy link

No description provided.

@13414897882 13414897882 changed the title dochub2.4各种依赖环境已经配置好,并且可以正常转换,但是预览时,页面空白 dochub2.4各种依赖环境已经配置好,并且可以正常转换,但是预览时,页面空白,部署的是本地minio服务 Nov 17, 2019
@hawkwang
Copy link

我修改代码了,觉得这样是临时做法
图片

@jht385
Copy link

jht385 commented Feb 20, 2020

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
的结构就能正常显示了

@mmd1989
Copy link

mmd1989 commented Mar 17, 2020

我修改代码了,觉得这样是临时做法
图片
求问最后是怎么解决的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants