Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: add rewrites for misc txt pages and rss feed (#3744)

Jonathan Summers-Muirc51dec00a2db
diff --git a/www/next.config.js b/www/next.config.js
index 778458a40db..a300dc59fa8 100644
--- a/www/next.config.js
+++ b/www/next.config.js
@@ -43,6 +43,23 @@ module.exports = withMDX({
source: '/docs/:path*',
destination: `${process.env.NEXT_PUBLIC_DOCS_URL}/:path*`,
},
+ // misc rewrites
+ {
+ source: '/humans.txt',
+ destination: `/docs/humans.txt`,
+ },
+ {
+ source: '/lawyers.txt',
+ destination: `/docs/lawyers.txt`,
+ },
+ {
+ source: '/.well-known/security.txt.txt',
+ destination: `/docs/.well-known/security.txt.txt`,
+ },
+ {
+ source: '/feed.xml',
+ destination: `/rss.xml`,
+ },
]
},
async redirects() {