dev #2

Merged
sanjib merged 3 commits from dev into main 2025-02-19 05:36:37 +00:00
Showing only changes of commit 74f00d4ba5 - Show all commits

View file

@ -2,9 +2,9 @@ import { Client } from "minio";
import { ENV } from "../config/env"; import { ENV } from "../config/env";
export const minioClient = new Client({ export const minioClient = new Client({
endPoint: ENV.MINIO_ENDPOINT!, endPoint: ENV.MINIO_ENDPOINT!.replace("http://", "").replace("https://", ""),
port: ENV.MINIO_PORT, port: ENV.MINIO_PORT,
useSSL: false, useSSL: false,
accessKey: ENV.MINIO_ACCESS_KEY, accessKey: ENV.MINIO_ACCESS_KEY,
secretKey: ENV.MINIO_SECRET_KEY, secretKey: ENV.MINIO_SECRET_KEY,
}) });