We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9fd7b9b + 799a854 commit ae953b0Copy full SHA for ae953b0
src/utils/s3.ts
@@ -5,8 +5,8 @@ import config = require('../../config')
5
6
const client = new Minio.Client({
7
endPoint: config.S3.endpoint,
8
- port: config.S3.port,
9
- useSSL: config.S3.ssl,
+ port: +config.S3.port,
+ useSSL: !!config.S3.ssl,
10
accessKey: config.S3.accessKey,
11
secretKey: config.S3.secretKey,
12
})
0 commit comments