diff options
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index bcf327f32..fc200e5d1 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -1527,6 +1527,10 @@ export class VideoModel extends Model<VideoModel> { | |||
1527 | videoFile.infoHash = parsedTorrent.infoHash | 1527 | videoFile.infoHash = parsedTorrent.infoHash |
1528 | } | 1528 | } |
1529 | 1529 | ||
1530 | getWatchStaticPath () { | ||
1531 | return '/videos/watch/' + this.uuid | ||
1532 | } | ||
1533 | |||
1530 | getEmbedStaticPath () { | 1534 | getEmbedStaticPath () { |
1531 | return '/videos/embed/' + this.uuid | 1535 | return '/videos/embed/' + this.uuid |
1532 | } | 1536 | } |