From 710620a920a480bada6c1eb826fd0e5aed6541c8 Mon Sep 17 00:00:00 2001 From: Raccoon Date: Sat, 12 Jun 2021 06:17:56 +0800 Subject: [PATCH] ts: lib/imageRouter/minio.js Signed-off-by: Raccoon --- lib/imageRouter/minio.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/imageRouter/minio.ts b/lib/imageRouter/minio.ts index 47a3d2e8..3432e5e3 100644 --- a/lib/imageRouter/minio.ts +++ b/lib/imageRouter/minio.ts @@ -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,