diff --git a/src/lib/sitemap-routes.test.ts b/src/lib/sitemap-routes.test.ts index 66d7983..2f67797 100644 --- a/src/lib/sitemap-routes.test.ts +++ b/src/lib/sitemap-routes.test.ts @@ -67,7 +67,8 @@ describe("generateSitemap", () => { expect(locs).toContain("https://nessa.freno.me/"); expect(locs).toContain("https://nessa.freno.me/contact"); expect(locs).toContain("https://nessa.freno.me/privacy"); - expect(locs.length).toBe(3); + expect(locs).toContain("https://nessa.freno.me/terms"); + expect(locs.length).toBe(4); for (const loc of locs) { expect(loc).not.toContain("://freno.me/"); diff --git a/src/lib/sitemap-routes.ts b/src/lib/sitemap-routes.ts index 0b15819..ff4604b 100644 --- a/src/lib/sitemap-routes.ts +++ b/src/lib/sitemap-routes.ts @@ -57,7 +57,8 @@ export const SITEMAP_ROUTES: Record = { nessa: [ { path: "/", changefreq: "weekly", priority: 1.0 }, { path: "/contact", changefreq: "monthly", priority: 0.6 }, - { path: "/privacy", changefreq: "yearly", priority: 0.4 } + { path: "/privacy", changefreq: "yearly", priority: 0.4 }, + { path: "/terms", changefreq: "yearly", priority: 0.4 } ], lineage: [