mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-27 04:17:51 -07:00
Fix
This commit is contained in:
parent
94f10da81b
commit
91eec82593
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ DriveFile.find({
|
||||||
|
|
||||||
const minio = new Minio.Client(config.drive.config);
|
const minio = new Minio.Client(config.drive.config);
|
||||||
|
|
||||||
|
const name = file.filename;
|
||||||
const keyDir = `${config.drive.prefix}/${uuid.v4()}`;
|
const keyDir = `${config.drive.prefix}/${uuid.v4()}`;
|
||||||
const key = `${keyDir}/${name}`;
|
const key = `${keyDir}/${name}`;
|
||||||
const thumbnailKeyDir = `${config.drive.prefix}/${uuid.v4()}`;
|
const thumbnailKeyDir = `${config.drive.prefix}/${uuid.v4()}`;
|
||||||
|
|
Loading…
Reference in a new issue