forked from mirror/misskey
Fix
This commit is contained in:
parent
cc2843503d
commit
4f45e8125c
@ -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 New Issue
Block a user