From 3ffc38dac58d96a576080fa8a4daf4b18cc6cc7a Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 18 Dec 2021 02:17:42 +0100 Subject: [PATCH] fix(core): update --- ts/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ts/index.ts b/ts/index.ts index 15c9b92..f0575d1 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -8,10 +8,20 @@ export interface ISmarts3ContructorOptions { export class Smarts3 { public options: ISmarts3ContructorOptions; + public dataForClient = { + s3AccessKey: 'S3RVER', + s3AccessSecret: 'S3RVER', + port: 3000, + useSsl: false + } public s3Instance: plugins.s3rver; constructor(optionsArg: ISmarts3ContructorOptions) { this.options = optionsArg; + this.options = { + ...this.options, + ...optionsArg + } } public async start() {