diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video-playlist.ts | 2 | ||||
-rw-r--r-- | server/models/video/video.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video-playlist.ts b/server/models/video/video-playlist.ts index c293287d3..98cea1b64 100644 --- a/server/models/video/video-playlist.ts +++ b/server/models/video/video-playlist.ts | |||
@@ -496,7 +496,7 @@ export class VideoPlaylistModel extends Model<Partial<AttributesOnly<VideoPlayli | |||
496 | } | 496 | } |
497 | 497 | ||
498 | getWatchUrl () { | 498 | getWatchUrl () { |
499 | return WEBSERVER.URL + '/videos/watch/playlist/' + this.uuid | 499 | return WEBSERVER.URL + '/w/p/' + this.uuid |
500 | } | 500 | } |
501 | 501 | ||
502 | getEmbedStaticPath () { | 502 | getEmbedStaticPath () { |
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index d4a258187..5af907533 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -1920,7 +1920,7 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> { | |||
1920 | } | 1920 | } |
1921 | 1921 | ||
1922 | getWatchStaticPath () { | 1922 | getWatchStaticPath () { |
1923 | return '/videos/watch/' + this.uuid | 1923 | return '/w/' + this.uuid |
1924 | } | 1924 | } |
1925 | 1925 | ||
1926 | getEmbedStaticPath () { | 1926 | getEmbedStaticPath () { |