From 40476fdd0a4bd779d22d22a07d70340882c84dc4 Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Tue, 3 Jan 2023 10:06:12 +0700 Subject: [PATCH] Fix dashboard redirect for org settings --- apps/www/lib/redirects.js | 5 ----- studio/next.config.js | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.js index 8c3603f4bbc..56951babe70 100644 --- a/apps/www/lib/redirects.js +++ b/apps/www/lib/redirects.js @@ -1901,9 +1901,4 @@ module.exports = [ source: '/legal/soc2', destination: 'https://forms.supabase.com/soc2', }, - { - permanent: true, - source: '/:ref/settings', - destination: '/:ref/general', - }, ] diff --git a/studio/next.config.js b/studio/next.config.js index b5a58721745..2a78210b5b7 100644 --- a/studio/next.config.js +++ b/studio/next.config.js @@ -115,6 +115,11 @@ const nextConfig = { destination: '/project/:ref/logs/explorer', permanent: true, }, + { + source: '/org/:slug/settings', + destination: '/org/:slug/general', + permanent: true, + }, ] }, async headers() {