Skip to content

Commit

Permalink
s3 settings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wulff007 committed May 20, 2024
1 parent 7418afa commit 166c5a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pictures/pictures.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export class PicturesService {
constructor() {
this.minioClient = new Client({
endPoint: process.env.S3_ENDPOINT,
port: 9000,
useSSL: false,
port: Number(process.env.S3_PORT),
useSSL: !!Number(process.env.S3_USE_SSL),
accessKey: process.env.S3_ACCESS_KEY,
secretKey: process.env.S3_SECRET_ACCESS_KEY,
});
Expand Down

0 comments on commit 166c5a3

Please sign in to comment.