diff --git a/ts/smartbucket.classes.smartbucket.ts b/ts/smartbucket.classes.smartbucket.ts index e89fdb9..84bfd72 100644 --- a/ts/smartbucket.classes.smartbucket.ts +++ b/ts/smartbucket.classes.smartbucket.ts @@ -22,7 +22,7 @@ export class SmartBucket { this.minioClient = new plugins.minio.Client({ endPoint: this.config.endpoint, port: configArg.port || 443, - useSSL: configArg.useSsl || true, + useSSL: configArg.useSsl !== undefined ? configArg.useSsl : true, accessKey: this.config.accessKey, secretKey: this.config.accessSecret, });