Skip to content

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

feat(www): serve openapi spec at /openapi.json (#49587)

Pamela Chia35531ea2f44e
diff --git a/apps/www/lib/rewrites.js b/apps/www/lib/rewrites.js
index 281cc30bc86..fbd4339024d 100644
--- a/apps/www/lib/rewrites.js
+++ b/apps/www/lib/rewrites.js
@@ -75,6 +75,10 @@ const rewrites = [
source: '/.well-known/security.txt',
destination: `${process.env.NEXT_PUBLIC_DOCS_URL}/.well-known/security.txt`,
},
+ {
+ source: '/openapi.json',
+ destination: 'https://api.supabase.com/api/v1-json',
+ },
{ source: '/feed.xml', destination: `/rss.xml` },
]