Skip to content

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

fix(docs): redirects (#29816)

Charis833772c35ba7
diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.js
index 8a53f4d789d..76353a5feab 100644
--- a/apps/www/lib/redirects.js
+++ b/apps/www/lib/redirects.js
@@ -1263,11 +1263,6 @@ module.exports = [
source: '/docs/reference/tools/reference-auth',
destination: '/docs/reference/auth',
},
- {
- permanent: true,
- source: '/docs/guides/local-development',
- destination: '/docs/guides/cli/local-development',
- },
{
permanent: true,
source: '/docs/guides/realtime/overview',
@@ -2210,11 +2205,6 @@ module.exports = [
source: '/blog/flutter-authentication-and-authorization-with-rls',
destination: '/blog/flutter-authorization-with-rls',
},
- {
- permanent: true,
- source: '/docs/guides/integrations',
- destination: '/docs/guides/platform/marketplace',
- },
{
permanent: true,
source: '/docs/guides/integrations/appsmith',
@@ -2678,14 +2668,22 @@ module.exports = [
source: '/docs/guides/cli/local-development',
destination: '/docs/guides/local-development/overview',
},
+ {
+ permanent: true,
+ source: '/docs/guides/cli/managing-environments',
+ destination: '/docs/guides/deployment/managing-environments',
+ },
{
permanent: true,
source: '/docs/guides/cli/:path*',
destination: '/docs/guides/local-development/cli/:path*',
},
{
- permanent: true,
- source: '/docs/guides/cli/managing-environments',
+ // Not permanent because I don't want to risk decommissioning this
+ // path entirely, just solving the problem temporarily for people
+ // whose browsers have already cached the wrong redirect above
+ permanent: false,
+ source: '/docs/guides/local-development/cli/managing-environments',
destination: '/docs/guides/deployment/managing-environments',
},
{