From 3a4bb6d7b11cb2216754eaebac346c7f97930c8b Mon Sep 17 00:00:00 2001 From: namhq1989 Date: Sun, 8 Jan 2023 20:41:25 +0700 Subject: [PATCH] check minio --- minio.go | 1 + 1 file changed, 1 insertion(+) diff --git a/minio.go b/minio.go index 9dd7b9d..977411c 100644 --- a/minio.go +++ b/minio.go @@ -19,6 +19,7 @@ func Init(cfg Config) (*Client, error) { client, err := min.New(cfg.Endpoint, &min.Options{ Creds: credentials.NewStaticV4(cfg.AccessKey, cfg.SecretKey, ""), Secure: cfg.UseSSL, + Region: "ap-southeast-1", }) // return if error