dev #2
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||||
})
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue