Skip to content

Commit ae953b0

Browse files
authored
Merge pull request #27 from abhishek97/misc
Misc
2 parents 9fd7b9b + 799a854 commit ae953b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/s3.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import config = require('../../config')
55

66
const client = new Minio.Client({
77
endPoint: config.S3.endpoint,
8-
port: config.S3.port,
9-
useSSL: config.S3.ssl,
8+
port: +config.S3.port,
9+
useSSL: !!config.S3.ssl,
1010
accessKey: config.S3.accessKey,
1111
secretKey: config.S3.secretKey,
1212
})

0 commit comments

Comments
 (0)