ts: lib/imageRouter/minio.js

Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2021-06-12 06:17:56 +08:00
parent 87e2a25f9a
commit 710620a920
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38

View File

@ -1,11 +1,11 @@
import fs from "fs";
import path from "path";
import * as fs from "fs";
import * as path from "path";
import Minio from "minio";
import * as Minio from "minio";
import config from "../config";
import * as config from "../config";
import {getImageMimeType} from "../utils";
import logger from "../logger";
import * as logger from "../logger";
const minioClient = new Minio.Client({
endPoint: config.minio.endPoint,