fix(core): update
This commit is contained in:
parent
121c71102a
commit
b60ece389c
@ -4,6 +4,7 @@ import { Bucket } from './smartbucket.classes.bucket';
|
|||||||
export interface ISmartBucketConfig {
|
export interface ISmartBucketConfig {
|
||||||
endpoint: string;
|
endpoint: string;
|
||||||
port?: number;
|
port?: number;
|
||||||
|
useSsl?: boolean;
|
||||||
accessKey: string;
|
accessKey: string;
|
||||||
accessSecret: string;
|
accessSecret: string;
|
||||||
}
|
}
|
||||||
@ -21,7 +22,7 @@ export class SmartBucket {
|
|||||||
this.minioClient = new plugins.minio.Client({
|
this.minioClient = new plugins.minio.Client({
|
||||||
endPoint: this.config.endpoint,
|
endPoint: this.config.endpoint,
|
||||||
port: configArg.port || 443,
|
port: configArg.port || 443,
|
||||||
useSSL: true,
|
useSSL: configArg.useSsl || true,
|
||||||
accessKey: this.config.accessKey,
|
accessKey: this.config.accessKey,
|
||||||
secretKey: this.config.accessSecret,
|
secretKey: this.config.accessSecret,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user