feat: ajustar prioridad de rutas de videos y eliminar imágenes de miniaturas en el sitemap

This commit is contained in:
2026-09-16 09:55:24 -03:00
parent deb1291274
commit ae63d0dea0
+3 -8
View File
@@ -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)