mirror of
https://github.com/MarSeventh/CloudFlare-ImgBed.git
synced 2026-05-04 19:06:24 +00:00
Bug:S3路径风格读取错误
This commit is contained in:
@@ -151,7 +151,7 @@ async function deleteS3File(img) {
|
||||
accessKeyId: img.metadata?.S3AccessKeyId,
|
||||
secretAccessKey: img.metadata?.S3SecretAccessKey
|
||||
},
|
||||
forcePathStyle: img.metadata?.S3PathStyle === 'true' // 是否启用路径风格
|
||||
forcePathStyle: img.metadata?.S3PathStyle || false // 是否启用路径风格
|
||||
});
|
||||
|
||||
const bucketName = img.metadata?.S3BucketName;
|
||||
|
||||
Reference in New Issue
Block a user