This commit is contained in:
@@ -15,8 +15,8 @@ export class MinioService {
|
||||
) {
|
||||
this.client = new Client({
|
||||
endPoint: this.configService.get<string>('S3_ENDPOINT', 's3.hooli.co'),
|
||||
port: this.configService.get<number>('S3_PORT', 443),
|
||||
useSSL: true,
|
||||
port: Number(this.configService.get<number>('S3_PORT', 443)),
|
||||
useSSL: this.configService.get<string>('S3_USE_SSL', 'true') === 'true',
|
||||
accessKey: this.configService.get<string>('S3_ACCESS_KEY', ''),
|
||||
secretKey: this.configService.get<string>('S3_SECRET_KEY', ''),
|
||||
});
|
||||
|
Reference in New Issue
Block a user