Upgrade sequelize
[oweals/peertube.git] / server / controllers / bots.ts
index 7e8e6eff6c0f31a4b164d0791e0371e6b57e1d41..e25d9c21b01c8a8dd48b10d6dcdcfb63aa43766e 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: WEBSERVER.URL + '/videos/embed/' + v.uuid,
-        thumbnail_loc: WEBSERVER.URL + v.getThumbnailStaticPath()
+        thumbnail_loc: WEBSERVER.URL + v.getMiniatureStaticPath()
       }
     ]
   }))