fix(core): update

This commit is contained in:
2021-12-18 01:00:07 +01:00
parent cca3ade103
commit ec8f320317
4 changed files with 5106 additions and 3172 deletions

View File

@ -3,6 +3,7 @@ import { Bucket } from './smartbucket.classes.bucket';
export interface ISmartBucketConfig {
endpoint: string;
port?: number;
accessKey: string;
accessSecret: string;
}
@ -19,7 +20,7 @@ export class SmartBucket {
this.config = configArg;
this.minioClient = new plugins.minio.Client({
endPoint: this.config.endpoint,
port: 443,
port: configArg.port || 443,
useSSL: true,
accessKey: this.config.accessKey,
secretKey: this.config.accessSecret,