From eb9d549b6f7d5ec6027e5a1ee5617e46d631d343 Mon Sep 17 00:00:00 2001 From: Jorge Rivera Date: Tue, 3 Nov 2026 15:50:51 +0100 Subject: [PATCH] feat(site): redirect /privacy to ONE's privacy policy The MCP directory listings give developmentfinance.org/privacy as the privacy policy. ONE's policy covers the site, so the path redirects there, temporarily so a page of our own can take it later. --- next.config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/next.config.ts b/next.config.ts index ca39448a..2ad41080 100644 --- a/next.config.ts +++ b/next.config.ts @@ -26,6 +26,18 @@ const nextConfig: NextConfig = { async headers() { return noindexHeaders(); }, + // ONE's privacy policy covers this site; /privacy is the address the + // MCP directory listings give for it. Temporary, so a later page of our + // own can take the path without browsers holding the old target. + async redirects() { + return [ + { + source: '/privacy', + destination: 'https://www.one.org/info/privacy-policy/', + permanent: false, + }, + ]; + }, // A docs page's raw markdown sits beside it: /docs/.md serves the // same file the docs corpus was built from (src/app/docs-md). async rewrites() {