]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/feeds.ts
Refactor video links builders
[github/Chocobozzz/PeerTube.git] / server / controllers / feeds.ts
index cdc6bfb8be176047b3dde2cd271b9c2daf8c3ebd..9fa70a7c8ca89e7f9cc9983f422252a909801517 100644 (file)
@@ -286,7 +286,7 @@ function addVideosToFeed (feed, videos: VideoModel[]) {
     feed.addItem({
       title: video.name,
       id: video.url,
-      link: WEBSERVER.URL + '/w/' + video.uuid,
+      link: WEBSERVER.URL + video.getWatchStaticPath(),
       description: video.getTruncatedDescription(),
       content: video.description,
       author: [