aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-file.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-07-11 11:39:59 +0200
committerChocobozzz <me@florianbigard.com>2023-07-11 11:39:59 +0200
commit34555bebf8e2a2caf2cb1cfd85280d140fcc3802 (patch)
tree9c5e5eb78891bb09d23ae3fe37fe3db69bb8a2d9 /server/models/video/video-file.ts
parentd732ec7b46caa2a0972f132894023fec6bc5dd6a (diff)
downloadPeerTube-34555bebf8e2a2caf2cb1cfd85280d140fcc3802.tar.gz
PeerTube-34555bebf8e2a2caf2cb1cfd85280d140fcc3802.tar.zst
PeerTube-34555bebf8e2a2caf2cb1cfd85280d140fcc3802.zip
Migrate from webseed to web-videos
Diffstat (limited to 'server/models/video/video-file.ts')
-rw-r--r--server/models/video/video-file.ts4
1 files changed, 2 insertions, 2 deletions
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<Partial<AttributesOnly<VideoFileModel>
558 558
559 private getWebVideoFileStaticPath (video: MVideo) { 559 private getWebVideoFileStaticPath (video: MVideo) {
560 if (isVideoInPrivateDirectory(video.privacy)) { 560 if (isVideoInPrivateDirectory(video.privacy)) {
561 return join(STATIC_PATHS.PRIVATE_WEBSEED, this.filename) 561 return join(STATIC_PATHS.PRIVATE_WEB_VIDEOS, this.filename)
562 } 562 }
563 563
564 return join(STATIC_PATHS.WEBSEED, this.filename) 564 return join(STATIC_PATHS.WEB_VIDEOS, this.filename)
565 } 565 }
566 566
567 private getHLSFileStaticPath (video: MVideo) { 567 private getHLSFileStaticPath (video: MVideo) {