feat: ajustar prioridad de rutas de videos y eliminar imágenes de miniaturas en el sitemap
This commit is contained in:
@@ -46,18 +46,13 @@ export async function GET() {
|
||||
];
|
||||
|
||||
// Dynamic video routes (one per tutorial)
|
||||
// Note: video thumbnails are hosted on YouTube's CDN (i*.ytimg.com); Google's image
|
||||
// sitemap extension targets images on your own domain, so they are omitted here.
|
||||
const allVideos = getAllVideos();
|
||||
const videoRoutes: SitemapRoute[] = allVideos.map((video) => ({
|
||||
url: `${baseUrl}/landing/help/video/${video.id}`,
|
||||
changeFrequency: "monthly",
|
||||
priority: 0.6,
|
||||
images: [
|
||||
{
|
||||
url: video.thumbnail,
|
||||
title: video.title,
|
||||
caption: video.description,
|
||||
},
|
||||
],
|
||||
priority: 0.8,
|
||||
}));
|
||||
|
||||
// Login and signup routes (lower priority)
|
||||
|
||||
Reference in New Issue
Block a user