Fix thumbnail sitemap location
authorChocobozzz <me@florianbigard.com>
Thu, 6 Dec 2018 08:29:00 +0000 (09:29 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 6 Dec 2018 08:29:00 +0000 (09:29 +0100)
server/controllers/bots.ts

index b4eaccf9f0196d4852f2e4a8cb93f0ddf8771e2d..2db86a2d8e63b4e30cb140f1d570c9c74fec9ffb 100644 (file)
@@ -85,7 +85,7 @@ async function getSitemapLocalVideoUrls () {
         // Sitemap description should be < 2000 characters
         description: truncate(v.description || v.name, { length: 2000, omission: '...' }),
         player_loc: CONFIG.WEBSERVER.URL + '/videos/embed/' + v.uuid,
-        thumbnail_loc: v.getThumbnailStaticPath()
+        thumbnail_loc: CONFIG.WEBSERVER.URL + v.getThumbnailStaticPath()
       }
     ]
   }))