From 34555bebf8e2a2caf2cb1cfd85280d140fcc3802 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 11 Jul 2023 11:39:59 +0200 Subject: Migrate from webseed to web-videos --- server/models/video/video-file.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/models/video/video-file.ts') diff --git a/server/models/video/video-file.ts b/server/models/video/video-file.ts index 5e476f3c7..ee34ad2ff 100644 --- a/server/models/video/video-file.ts +++ b/server/models/video/video-file.ts @@ -558,10 +558,10 @@ export class VideoFileModel extends Model private getWebVideoFileStaticPath (video: MVideo) { if (isVideoInPrivateDirectory(video.privacy)) { - return join(STATIC_PATHS.PRIVATE_WEBSEED, this.filename) + return join(STATIC_PATHS.PRIVATE_WEB_VIDEOS, this.filename) } - return join(STATIC_PATHS.WEBSEED, this.filename) + return join(STATIC_PATHS.WEB_VIDEOS, this.filename) } private getHLSFileStaticPath (video: MVideo) { -- cgit v1.2.3