]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video.ts
Add user notification base code
[github/Chocobozzz/PeerTube.git] / server / models / video / video.ts
index bcf327f32a215dd7eca8e642f64681b082ece2ab..fc200e5d1af159420b271d68b07e3d2873fbe995 100644 (file)
@@ -1527,6 +1527,10 @@ export class VideoModel extends Model<VideoModel> {
     videoFile.infoHash = parsedTorrent.infoHash
   }
 
+  getWatchStaticPath () {
+    return '/videos/watch/' + this.uuid
+  }
+
   getEmbedStaticPath () {
     return '/videos/embed/' + this.uuid
   }