This commit is contained in:
syuilo 2018-10-11 17:25:53 +09:00
parent cc2843503d
commit 4f45e8125c
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 1 additions and 0 deletions

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()}`;