Merge pull request #1457 from kishan3/fix_module_not_found_uncaught_exception

Add correct path for minio
This commit is contained in:
Max Wu 2020-03-13 21:22:37 +08:00 committed by GitHub
commit 4c7497960a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const config = require('../config')
const { getImageMimeType } = require('../utils') const { getImageMimeType } = require('../utils')
const logger = require('../logger') const logger = require('../logger')
const Minio = require('lib/imageRouter/minio') const Minio = require('minio')
const minioClient = new Minio.Client({ const minioClient = new Minio.Client({
endPoint: config.minio.endPoint, endPoint: config.minio.endPoint,
port: config.minio.port, port: config.minio.port,