Fixed team settings not found.

This commit is contained in:
Mike Cao 2024-06-23 21:59:50 -07:00
parent 2109d3225e
commit 7342d52c68
2 changed files with 6 additions and 5 deletions

View File

@ -168,11 +168,7 @@ const config = {
destination: '/api/scripts/telemetry', destination: '/api/scripts/telemetry',
}, },
{ {
source: '/teams/:teamId/settings/:path*', source: '/teams/:teamId/:path((?!settings).*)*',
destination: '/teams/:teamId/settings/:path*',
},
{
source: '/teams/:teamId/:path*',
destination: '/:path*', destination: '/:path*',
}, },
]; ];

View File

@ -0,0 +1,5 @@
import Page from 'app/(main)/settings/websites/[websiteId]/page';
export default function ({ params }) {
return <Page params={params} />;
}