Add redirects
All checks were successful
Gitea Actions Demo / build (push) Successful in 5m20s

This commit is contained in:
2023-12-04 16:46:16 -07:00
parent 6ecdd5a0b8
commit d00fe6fdb7
11 changed files with 82 additions and 50 deletions

View File

@@ -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', ''),
});