mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
chore: add rewrites for misc txt pages and rss feed (#3744)
This commit is contained in:
1 parent
d3bd1cedb2
commit
c51dec00a2
1 file changed
+17
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user