fix(core): update
This commit is contained in:
parent
f35dd1e050
commit
3ffc38dac5
10
ts/index.ts
10
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user