冉成楼 2 months ago
parent fbf632cee5
commit 2bfc8214c7

@ -584,7 +584,7 @@ namespace HeBianGu.App.Disk
IMinioClient client = new MinioClient()
.WithEndpoint(config["Minio:Endpoint"])
.WithCredentials(config["Minio:AccessKey"], config["Minio:SecretKey"])
//.WithHttpClient(new HttpClient(handler) { Timeout = Timeout.InfiniteTimeSpan })
.WithHttpClient(new HttpClient(handler) { Timeout = Timeout.InfiniteTimeSpan })
.Build();
string bucketName = GetCurrentBucket();
// 确保桶存在

Loading…
Cancel
Save