fix: 修正MINIO_USE_SSL环境变量解析逻辑

main
majian 2025-12-09 14:20:01 +08:00 committed by lyingbug
parent 353ae6be59
commit 40a29c8a88
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ func initFileService(cfg *config.Config) (interfaces.FileService, error) {
os.Getenv("MINIO_ACCESS_KEY_ID"),
os.Getenv("MINIO_SECRET_ACCESS_KEY"),
os.Getenv("MINIO_BUCKET_NAME"),
false,
strings.EqualFold(os.Getenv("MINIO_USE_SSL"), "true"),
)
case "cos":
if os.Getenv("COS_BUCKET_NAME") == "" ||