@@ -83,7 +83,7 @@ func scopeConfigOf(config appconfig.Config, scope string) (scopeConfig, error) {
|
||||
Region: config.LibraryProductionS3Region, Bucket: config.LibraryProductionS3Bucket,
|
||||
AccessKeyID: config.LibraryProductionS3AccessKey, SecretAccessKey: config.LibraryProductionS3SecretKey,
|
||||
Secure: strings.HasPrefix(config.LibraryProductionS3Endpoint, "https://"),
|
||||
ForcePathStyle: true, MaxObjectBytes: 256 * 1024 * 1024,
|
||||
ForcePathStyle: config.LibraryProductionS3Provider == "minio", MaxObjectBytes: 256 * 1024 * 1024,
|
||||
},
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user