From ad509d2303203392507ae5cd0f6276cde1cad11c Mon Sep 17 00:00:00 2001 From: agent-cto Date: Mon, 9 Nov 2026 20:31:55 +0000 Subject: [PATCH] nessa: list /terms in the sitemap (FRE-1670) Ports the sitemap entry from the FRE-194 change on the Gitea line, which this branch is cut from GitHub master and therefore did not inherit. --- src/lib/sitemap-routes.test.ts | 3 ++- src/lib/sitemap-routes.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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: [