From: Chocobozzz Date: Thu, 6 Dec 2018 08:29:00 +0000 (+0100) Subject: Fix thumbnail sitemap location X-Git-Tag: v1.2.0-rc.1~99 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=d22b9b3e20c99ce2c079105673d2209aef64cec4;p=github%2FChocobozzz%2FPeerTube.git Fix thumbnail sitemap location --- diff --git a/server/controllers/bots.ts b/server/controllers/bots.ts index b4eaccf9f..2db86a2d8 100644 --- a/server/controllers/bots.ts +++ b/server/controllers/bots.ts @@ -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() } ] }))