Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix: Make homepage first in sitemap
Richie McIlroyf0917f6cf1bf
diff --git a/apps/web/app/sitemap.ts b/apps/web/app/sitemap.tsindex 4eb8a175d..da4ac2510 100644--- a/apps/web/app/sitemap.ts+++ b/apps/web/app/sitemap.ts@@ -42,7 +42,15 @@ async function getPagePaths(dir: string): Promise<{ path: string; lastModified:};});- const routes = [...pagePaths, ...blogRoutes].map((route) => ({+ // Combine routes and ensure '/' is first+ const allRoutes = [...pagePaths, ...blogRoutes];+ const homeRoute = allRoutes.find(route => route.path === '/');+ const otherRoutes = allRoutes.filter(route => route.path !== '/');++ const routes = [+ ...(homeRoute ? [homeRoute] : []),+ ...otherRoutes+ ].map((route) => ({url: `https://cap.so${route.path}`,lastModified: route.lastModified,}));