fix(core): update

This commit is contained in:
Philipp Kunz 2021-12-18 01:13:02 +01:00
parent 121c71102a
commit b60ece389c

View File

@ -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,
});