Skip to content

Commit

Permalink
Merge pull request #93 from Samagra-Anamaya/dev
Browse files Browse the repository at this point in the history
chore: PORT added from config
  • Loading branch information
geeky-abhishek authored Nov 2, 2023
2 parents c3aabb8 + 1c2599a commit 621e63a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/bff/src/minio/minio.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ export class MinioService {
public readonly minioClient: Minio.Client;

constructor(private configService: ConfigService) {
const port = this.configService.get('MINIO_PORT');
this.minioClient = new Minio.Client({
endPoint: this.configService.get('MINIO_URL'),
port: 443,
useSSL: true,
port: Number(port),
useSSL: Number(port) === 443 ? true : false,
accessKey: this.configService.get('MINIO_ACCESSKEY'),
secretKey: this.configService.get('MINIO_SECRET'),
});
Expand Down

1 comment on commit 621e63a

@vercel
Copy link

@vercel vercel bot commented on 621e63a Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

workflow-wrapper-1 – ./apps/wrapper

workflow-wrapper-1.vercel.app
workflow-wrapper-1-git-main-anamaya.vercel.app
workflow-wrapper-1-anamaya.vercel.app

Please sign in to comment.