This commit is contained in:
syuilo 2018-10-11 17:25:53 +09:00
parent 94f10da81b
commit 91eec82593

View file

@ -23,6 +23,7 @@ DriveFile.find({
const minio = new Minio.Client(config.drive.config);
const name = file.filename;
const keyDir = `${config.drive.prefix}/${uuid.v4()}`;
const key = `${keyDir}/${name}`;
const thumbnailKeyDir = `${config.drive.prefix}/${uuid.v4()}`;