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 {
|
||||
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,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user