diff --git a/app/public/sitemap.xml b/app/public/sitemap.xml index 085453d..9295e87 100644 --- a/app/public/sitemap.xml +++ b/app/public/sitemap.xml @@ -1 +1 @@ -http://localhost:5500/2025-04-18T15:49:26.620Z1.0http://localhost:5500/certifications2025-04-18T15:49:26.620Z0.9http://localhost:5500/docs2025-04-18T15:49:26.620Z0.9http://localhost:5500/docs/communaute/influenceurs2025-04-18T15:49:26.620Z0.7http://localhost:5500/docs/communaute/partages2025-04-18T15:49:26.620Z0.7http://localhost:5500/mentions-legales2025-04-18T15:49:26.620Z0.9http://localhost:5500/politique-de-confidentialite2025-04-18T15:49:26.620Z0.9http://localhost:5500/certifications/dwwm2025-04-18T15:49:26.620Z0.8http://localhost:5500/certifications/dwwm/at12025-04-18T15:49:26.620Z0.7http://localhost:5500/certifications/dwwm/at22025-04-18T15:49:26.620Z0.7http://localhost:5500/docs/react2025-04-18T15:49:26.620Z0.8http://localhost:5500/docs/merise2025-04-18T15:49:26.620Z0.8 \ No newline at end of file +http://localhost:5500/2025-04-18T15:51:43.576Z1.0http://localhost:5500/certifications2025-04-18T15:51:43.576Z0.9http://localhost:5500/docs2025-04-18T15:51:43.576Z0.9http://localhost:5500/docs/communaute/influenceurs2025-04-18T15:51:43.576Z0.7http://localhost:5500/docs/communaute/partages2025-04-18T15:51:43.576Z0.7http://localhost:5500/mentions-legales2025-04-18T15:51:43.576Z0.9http://localhost:5500/politique-de-confidentialite2025-04-18T15:51:43.576Z0.9http://localhost:5500/certifications/dwwm2025-04-18T15:51:43.576Z0.8http://localhost:5500/certifications/dwwm/at12025-04-18T15:51:43.576Z0.7http://localhost:5500/certifications/dwwm/at22025-04-18T15:51:43.576Z0.7http://localhost:5500/docs/react2025-04-18T15:51:43.576Z0.8http://localhost:5500/docs/merise2025-04-18T15:51:43.576Z0.8 \ No newline at end of file diff --git a/app/services/Sitemap.ts b/app/services/Sitemap.ts index e749d6b..ff2a3dc 100644 --- a/app/services/Sitemap.ts +++ b/app/services/Sitemap.ts @@ -85,10 +85,9 @@ class Sitemap { private loadSection(sectionLinks: (typeof navigation)[number]["links"]) { return sectionLinks.map((link) => { - const href = link.href; - const priority = this.loadPriority(href); - const lastmod = this.loadLastModified(href); - const location = `${this.baseUrl}${href}`; + const priority = this.loadPriority(link.href); + const lastmod = this.loadLastModified(link.href); + const location = `${this.baseUrl}${link.href}`; return { location,