Skip to content

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

Chore/fix robots tag for docs (#42867)

Joshen Limea6f499e2f30
diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjs
index f28c6463698..c401aafdcc0 100644
--- a/apps/www/next.config.mjs
+++ b/apps/www/next.config.mjs
@@ -102,6 +102,24 @@ const nextConfig = {
},
],
},
+ {
+ source: '/(docs|blog)/:path*',
+ headers: [
+ {
+ key: 'X-Robots-Tag',
+ value: 'all',
+ },
+ ],
+ },
+ {
+ source: '/dashboard/:path*',
+ headers: [
+ {
+ key: 'X-Robots-Tag',
+ value: 'noindex',
+ },
+ ],
+ },
]
},
async rewrites() {