fix(core): update

This commit is contained in:
Philipp Kunz 2021-12-18 02:17:42 +01:00
parent f35dd1e050
commit 3ffc38dac5

View File

@ -8,10 +8,20 @@ export interface ISmarts3ContructorOptions {
export class Smarts3 { export class Smarts3 {
public options: ISmarts3ContructorOptions; public options: ISmarts3ContructorOptions;
public dataForClient = {
s3AccessKey: 'S3RVER',
s3AccessSecret: 'S3RVER',
port: 3000,
useSsl: false
}
public s3Instance: plugins.s3rver; public s3Instance: plugins.s3rver;
constructor(optionsArg: ISmarts3ContructorOptions) { constructor(optionsArg: ISmarts3ContructorOptions) {
this.options = optionsArg; this.options = optionsArg;
this.options = {
...this.options,
...optionsArg
}
} }
public async start() { public async start() {