feat: mejorar el sitemap añadiendo rutas legales y asegurando la correcta codificación XML

This commit is contained in:
2026-09-16 10:04:18 -03:00
parent ae63d0dea0
commit 8c1089df41
2 changed files with 52 additions and 21 deletions
+9 -4
View File
@@ -8,12 +8,17 @@ export default function robots(): MetadataRoute.Robots {
allow: "/",
disallow: [
"/admin/",
"/dashboard/",
"/my-appointments/",
"/offer-appointments/",
"/user/",
"/messenger/",
"/landing/dashboard/",
"/landing/my-appointments/",
"/landing/current-plan/",
"/landing/upgrade-plan/",
"/landing/pending-ratings/",
"/landing/subscription/",
"/landing/recover-account/",
],
},
sitemap: `${baseUrl}/sitemap.xml`,
};
}
}