aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/bots.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-12-06 09:29:00 +0100
committerChocobozzz <me@florianbigard.com>2018-12-06 09:29:00 +0100
commitd22b9b3e20c99ce2c079105673d2209aef64cec4 (patch)
tree454bf121662e76e9207d4da7de969b332d445937 /server/controllers/bots.ts
parent7089e7b4e570710acac408bf95c688932a491707 (diff)
downloadPeerTube-d22b9b3e20c99ce2c079105673d2209aef64cec4.tar.gz
PeerTube-d22b9b3e20c99ce2c079105673d2209aef64cec4.tar.zst
PeerTube-d22b9b3e20c99ce2c079105673d2209aef64cec4.zip
Fix thumbnail sitemap location
Diffstat (limited to 'server/controllers/bots.ts')
-rw-r--r--server/controllers/bots.ts2
1 files changed, 1 insertions, 1 deletions
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 () {
85 // Sitemap description should be < 2000 characters 85 // Sitemap description should be < 2000 characters
86 description: truncate(v.description || v.name, { length: 2000, omission: '...' }), 86 description: truncate(v.description || v.name, { length: 2000, omission: '...' }),
87 player_loc: CONFIG.WEBSERVER.URL + '/videos/embed/' + v.uuid, 87 player_loc: CONFIG.WEBSERVER.URL + '/videos/embed/' + v.uuid,
88 thumbnail_loc: v.getThumbnailStaticPath() 88 thumbnail_loc: CONFIG.WEBSERVER.URL + v.getThumbnailStaticPath()
89 } 89 }
90 ] 90 ]
91 })) 91 }))