Skip to content

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

Add redirects for recent nav reordering

Terry Suttona126fd0546a1
diff --git a/studio/next.config.js b/studio/next.config.js
index c4701c8599f..7cdf5c56ce0 100644
--- a/studio/next.config.js
+++ b/studio/next.config.js
@@ -35,6 +35,51 @@ const nextConfig = {
destination: '/project/:ref/settings/general',
permanent: true,
},
+ {
+ source: '/project/:ref/auth/settings',
+ destination: '/project/:ref/auth/users',
+ permanent: true,
+ },
+ {
+ source: '/project/:ref/settings/billing',
+ destination: '/project/:ref/settings/billing/subscription',
+ permanent: true,
+ },
+ {
+ source: '/project/:ref/database/postgres-logs',
+ destination: '/project/:ref/logs/postgres-logs',
+ permanent: true,
+ },
+ {
+ source: '/project/:ref/database/postgrest-logs',
+ destination: '/project/:ref/logs/postgrest-logs',
+ permanent: true,
+ },
+ {
+ source: '/project/:ref/database/pgbouncer-logs',
+ destination: '/project/:ref/logs/pgbouncer-logs',
+ permanent: true,
+ },
+ {
+ source: '/project/:ref/database/realtime-logs',
+ destination: '/project/:ref/logs/realtime-logs',
+ permanent: true,
+ },
+ {
+ source: '/project/:ref/storage/logs',
+ destination: '/project/:ref/logs/storage-logs',
+ permanent: true,
+ },
+ {
+ source: '/project/:ref/auth/logs',
+ destination: '/project/:ref/logs/auth-logs',
+ permanent: true,
+ },
+ {
+ source: '/project/:ref/logs-explorer',
+ destination: '/project/:ref/logs/explorer',
+ permanent: true,
+ },
]
},
async headers() {