diff options
author | Chocobozzz <me@florianbigard.com> | 2018-12-26 10:36:24 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-01-09 11:15:15 +0100 |
commit | cef534ed53e4518fe0acf581bfe880788d42fc36 (patch) | |
tree | 115b51ea5136849a2336d44915c7780649f25dc2 /server/models/video/video.ts | |
parent | 1de1d05f4c61fe059fa5e24e79c92582f0e7e4b3 (diff) | |
download | PeerTube-cef534ed53e4518fe0acf581bfe880788d42fc36.tar.gz PeerTube-cef534ed53e4518fe0acf581bfe880788d42fc36.tar.zst PeerTube-cef534ed53e4518fe0acf581bfe880788d42fc36.zip |
Add user notification base code
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 | } |