wayjam / picgo-plugin-s3

PicGo S3 插件
MIT License
116 stars 19 forks source link

返回的链接不可用 #37

Closed Idealisten closed 1 year ago

Idealisten commented 1 year ago

返回的图片链接打开后显示XML错误,去CF上查看上传文件的公共存储桶链接是可以正常打开图片的,但是那个S3链接打开后会报同样的XML错误

wayjam commented 1 year ago

返回的 S3 链接是未签名链接。具体 S3 权限说明在这https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html

Idealisten commented 1 year ago

啊,但是我是上传到CloudFlare的R2的呀

WayJam So @.***> 于2023年9月4日周一 00:30写道:

返回的 S3 链接是未签名链接。具体 S3 权限说明在这 https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html

— Reply to this email directly, view it on GitHub https://github.com/wayjam/picgo-plugin-s3/issues/37#issuecomment-1704347536, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6YDENU277VDPTD74QW5VTXYSWB7ANCNFSM6AAAAAA4JCE2JM . You are receiving this because you authored the thread.Message ID: @.***>

Kuingsmile commented 1 year ago

返回的图片链接打开后显示XML错误,去CF上查看上传文件的公共存储桶链接是可以正常打开图片的,但是那个S3链接打开后会报同样的XML错误

把自定义域名设置成R2的公开域名地址或者绑定的自己的域名了么

Idealisten commented 1 year ago

添加自定义域名后解决,谢谢