fix(s3): add volces.com to virtual host suffix whitelist (#8824)

This commit is contained in:
George·Dong 2025-08-04 18:20:08 +08:00 committed by GitHub
parent e8b3d44400
commit acbb35088c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ function streamToBuffer(stream: Readable): Promise<Buffer> {
}
// 需要使用 Virtual Host-Style 的服务商域名后缀白名单
const VIRTUAL_HOST_SUFFIXES = ['aliyuncs.com', 'myqcloud.com']
const VIRTUAL_HOST_SUFFIXES = ['aliyuncs.com', 'myqcloud.com', 'volces.com']
/**
* 使 AWS SDK v3 S3 RemoteStorage