Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
95065de1b5 | |||
ea9d0f58e9 | |||
9592ab863a | |||
b60ece389c |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@pushrocks/smartbucket",
|
||||
"version": "1.0.42",
|
||||
"version": "1.0.44",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@pushrocks/smartbucket",
|
||||
"version": "1.0.42",
|
||||
"version": "1.0.44",
|
||||
"license": "UNLICENSED",
|
||||
"dependencies": {
|
||||
"@pushrocks/qenv": "^4.0.10",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartbucket",
|
||||
"version": "1.0.42",
|
||||
"version": "1.0.44",
|
||||
"description": "simple cloud independent object storage",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.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 !== undefined ? configArg.useSsl : true,
|
||||
accessKey: this.config.accessKey,
|
||||
secretKey: this.config.accessSecret,
|
||||
});
|
||||
|
Reference in New Issue
Block a user