From 0a150a8a0948f29613cd4807256634cf33ea7742 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 20 Dec 2021 18:25:55 +0100 Subject: [PATCH] fix(core): update --- ts/index.ts | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/ts/index.ts b/ts/index.ts index 8cfbe2f..4f4ef23 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -16,12 +16,6 @@ export class Smarts3 { // INSTANCE public options: ISmarts3ContructorOptions; - public dataForClient = { - s3AccessKey: 'S3RVER', - s3AccessSecret: 'S3RVER', - port: 3000, - useSsl: false - } public s3Instance: plugins.s3rver; constructor(optionsArg: ISmarts3ContructorOptions) { @@ -50,11 +44,11 @@ export class Smarts3 { public async getS3Descriptor(): Promise { return { - accessKey: this.dataForClient.s3AccessKey, - accessSecret: this.dataForClient.s3AccessSecret, + accessKey: 'S3RVER', + accessSecret: 'S3RVER', endpoint: 'localhost', - port: this.dataForClient.port, - useSsl: this.dataForClient.useSsl, + port: this.options.port, + useSsl: false, } }