Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/<path>.md serves the
// same file the docs corpus was built from (src/app/docs-md).
async rewrites() {
Expand Down
Loading