try to
This commit is contained in:
parent
a525e9388d
commit
657a8341c6
1 changed files with 1 additions and 2 deletions
|
|
@ -3,8 +3,7 @@ import { ENV } from "../config/env";
|
||||||
|
|
||||||
export const minioClient = new Client({
|
export const minioClient = new Client({
|
||||||
endPoint: ENV.MINIO_ENDPOINT!.replace("http://", "").replace("https://", ""),
|
endPoint: ENV.MINIO_ENDPOINT!.replace("http://", "").replace("https://", ""),
|
||||||
port: ENV.MINIO_PORT,
|
useSSL: ENV.MINIO_ENDPOINT!.startsWith("https"),
|
||||||
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