feat: images upload
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { Client } from "minio";
|
||||
|
||||
export const minioClient = new Client({
|
||||
endPoint: process.env.MINIO_URL!,
|
||||
port: Number(process.env.MINIO_PORT),
|
||||
useSSL: false,
|
||||
accessKey: process.env.MINIO_ACCESS_KEY!,
|
||||
secretKey: process.env.MINIO_SECRET_KEY!
|
||||
})
|
||||
Reference in New Issue
Block a user