Skip to content

Commit 9a7e7aa

Browse files
authored
Merge pull request #14 from lluuaapp/master
Added hint to custom server in Readme
2 parents 82a9c6c + 7e31351 commit 9a7e7aa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ Register S3Client as a service in your configure method
2323
try services.register(s3: S3Signer.Config(...), defaultBucket: "my-bucket")
2424
```
2525

26+
to use a custom Minio server, use this Config/Region:
27+
28+
```
29+
S3Signer.Config(accessKey: accessKey,
30+
secretKey: secretKey,
31+
region: Region(name: RegionName.usEast1,
32+
hostName: "127.0.0.1:9000",
33+
useTLS: false)
34+
```
35+
2636
use S3Client
2737

2838
```swift

0 commit comments

Comments
 (0)