mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 10:40:07 +08:00
fix(s3): add volces.com to virtual host suffix whitelist (#8824)
This commit is contained in:
parent
e8b3d44400
commit
acbb35088c
@ -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 的最常用接口。
|
||||
|
||||
Loading…
Reference in New Issue
Block a user