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.librecmc.org/?a=commitdiff_plain;h=d22b9b3e20c99ce2c079105673d2209aef64cec4;p=oweals%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() } ] }))