From b60ece389ce6fbfd3a8c4c1061ac5dcc0f096824 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 18 Dec 2021 01:13:02 +0100 Subject: [PATCH] fix(core): update --- ts/smartbucket.classes.smartbucket.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/smartbucket.classes.smartbucket.ts b/ts/smartbucket.classes.smartbucket.ts index 87e1548..e89fdb9 100644 --- a/ts/smartbucket.classes.smartbucket.ts +++ b/ts/smartbucket.classes.smartbucket.ts @@ -4,6 +4,7 @@ import { Bucket } from './smartbucket.classes.bucket'; export interface ISmartBucketConfig { endpoint: string; port?: number; + useSsl?: boolean; accessKey: string; accessSecret: string; } @@ -21,7 +22,7 @@ export class SmartBucket { this.minioClient = new plugins.minio.Client({ endPoint: this.config.endpoint, port: configArg.port || 443, - useSSL: true, + useSSL: configArg.useSsl || true, accessKey: this.config.accessKey, secretKey: this.config.accessSecret, });