mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
fix bug
This commit is contained in:
parent
c39df537b4
commit
4930906b62
@ -31,7 +31,8 @@ func MinioInit() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
opts := &minio.Options{
|
opts := &minio.Options{
|
||||||
Creds: credentials.NewStaticV4(config.Config.Credential.Minio.AccessKeyID, config.Config.Credential.Minio.SecretAccessKey, ""),
|
Creds: credentials.NewStaticV4(config.Config.Credential.Minio.AccessKeyID, config.Config.Credential.Minio.SecretAccessKey, ""),
|
||||||
|
Region: config.Config.Credential.Minio.Location,
|
||||||
}
|
}
|
||||||
if minioUrl.Scheme == "http" {
|
if minioUrl.Scheme == "http" {
|
||||||
opts.Secure = false
|
opts.Secure = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user