mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-16 02:27:01 +08:00
fix: minio sign endpoint opts
This commit is contained in:
parent
2997dd4659
commit
49640acc44
@ -84,6 +84,7 @@ func NewMinio() (s3.Interface, error) {
|
||||
init: false,
|
||||
}
|
||||
if conf.SignEndpoint == "" || conf.SignEndpoint == conf.Endpoint {
|
||||
m.opts = opts
|
||||
m.sign = m.core.Client
|
||||
} else {
|
||||
su, err := url.Parse(conf.SignEndpoint)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user