diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-11 11:23:51 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-11 11:23:51 +0200 |
commit | d732ec7b46caa2a0972f132894023fec6bc5dd6a (patch) | |
tree | 907e012702e575acdab37a41b28d62c468fa1312 /server/lib/local-actor.ts | |
parent | 76824f522addf310a829ec71fbd2230b7be5d61c (diff) | |
download | PeerTube-d732ec7b46caa2a0972f132894023fec6bc5dd6a.tar.gz PeerTube-d732ec7b46caa2a0972f132894023fec6bc5dd6a.tar.zst PeerTube-d732ec7b46caa2a0972f132894023fec6bc5dd6a.zip |
Rename "videos" config to "web-videos"
Diffstat (limited to 'server/lib/local-actor.ts')
-rw-r--r-- | server/lib/local-actor.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/local-actor.ts b/server/lib/local-actor.ts index 872addc58..611e6d0af 100644 --- a/server/lib/local-actor.ts +++ b/server/lib/local-actor.ts | |||
@@ -40,7 +40,7 @@ export async function updateLocalActorImageFiles ( | |||
40 | const extension = getLowercaseExtension(imagePhysicalFile.filename) | 40 | const extension = getLowercaseExtension(imagePhysicalFile.filename) |
41 | 41 | ||
42 | const imageName = buildUUID() + extension | 42 | const imageName = buildUUID() + extension |
43 | const destination = join(CONFIG.STORAGE.ACTOR_IMAGES, imageName) | 43 | const destination = join(CONFIG.STORAGE.ACTOR_IMAGES_DIR, imageName) |
44 | await processImageFromWorker({ path: imagePhysicalFile.path, destination, newSize: imageSize, keepOriginal: true }) | 44 | await processImageFromWorker({ path: imagePhysicalFile.path, destination, newSize: imageSize, keepOriginal: true }) |
45 | 45 | ||
46 | return { | 46 | return { |