From d022397e9c1f18288c57cab14333fc48a311d59d Mon Sep 17 00:00:00 2001 From: Paul Hecker Date: Sat, 8 Sep 2018 09:28:35 +0200 Subject: [PATCH 1/2] Added hint to custom server in Readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index af09bec..9b2c957 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,16 @@ Register S3Client as a service in your configure method try services.register(s3: S3Signer.Config(...), defaultBucket: "my-bucket") ``` +to use e.g. use a custom Minio server, you can use this Config/Region: + +``` +S3Signer.Config(accessKey: accessKey, + secretKey: secretKey, + region: Region(name: RegionName.usEast1, + hostName: "127.0.0.1:9000", + useTLS: false) +``` + use S3Client ```swift From 7e31351576e62402c638eab92f4d9a4aeac443c8 Mon Sep 17 00:00:00 2001 From: Paul Hecker Date: Mon, 10 Sep 2018 08:48:53 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b2c957..6d47b80 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Register S3Client as a service in your configure method try services.register(s3: S3Signer.Config(...), defaultBucket: "my-bucket") ``` -to use e.g. use a custom Minio server, you can use this Config/Region: +to use a custom Minio server, use this Config/Region: ``` S3Signer.Config(accessKey: accessKey,