mirror of
https://github.com/status-im/codimd.git
synced 2025-01-27 17:34:48 +00:00
ts: lib/imageRouter/minio.js
Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
parent
87e2a25f9a
commit
710620a920
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user