The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix main org link, add redirect for slug/settings
Terry Sutton16dee86b78e0
diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.jsindex 56951babe70..8c3603f4bbc 100644--- a/apps/www/lib/redirects.js+++ b/apps/www/lib/redirects.js@@ -1901,4 +1901,9 @@ module.exports = [source: '/legal/soc2',destination: 'https://forms.supabase.com/soc2',},+ {+ permanent: true,+ source: '/:ref/settings',+ destination: '/:ref/general',+ },]diff --git a/studio/components/layouts/AccountLayout/AccountLayout.tsx b/studio/components/layouts/AccountLayout/AccountLayout.tsxindex 76cfacfab2e..10ddf248e05 100644--- a/studio/components/layouts/AccountLayout/AccountLayout.tsx+++ b/studio/components/layouts/AccountLayout/AccountLayout.tsx@@ -37,7 +37,7 @@ const AccountLayout: FC<Props> = ({ children, title, breadcrumbs }) => {isActive:router.pathname.startsWith('/org/') && ui.selectedOrganization?.slug === organization.slug,label: organization.name,- href: `/org/${organization.slug}/settings`,+ href: `/org/${organization.slug}/general`,key: organization.slug,})).sort((a, b) => a.label.localeCompare(b.label))diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/OrgDropdown.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/OrgDropdown.tsxindex 852ba2367c6..40eb7e50fc7 100644--- a/studio/components/layouts/ProjectLayout/LayoutHeader/OrgDropdown.tsx+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/OrgDropdown.tsx@@ -40,7 +40,7 @@ const OrgDropdown = () => {}router.push({- pathname: `/org/[slug]/settings`,+ pathname: `/org/[slug]/general`,query: { slug },hash: router.asPath.split('#')[1]?.toLowerCase(),})