terwer / siyuan-plugin-picgo

Your favorite PicGo image bed is still available in siyuan-notes, wuhu~ 您喜爱的 PicGo 图床,在思源笔记依然可用,没想到吧~
https://terwer.space
MIT License
15 stars 4 forks source link

【bug】s3自定义域名后无法返回正确的url path #521

Open cnzhwei opened 2 months ago

cnzhwei commented 2 months ago

发现一个bug,我在S3的存储方式中,设置了自定义域名 image 但是当我在siyuan中上传图片后,发现只有域名,没有图片的path(在s3仓库中看到图片已经上传了),导致无法正常观看图片。 正常应该是返回 https://[domain]/filename.jpg 这样的url,而不是仅返回https://[domain] 这样。 image

不知道是设置有问题,还是插件有bug

cnzhwei commented 2 months ago

使用的是CloudFlare R2,支持S3 api,上传是成功的,但是就是这个url path的问题,困惑我很久。