diff --git a/next.config.js b/next.config.js index d7546d752..acb83a921 100644 --- a/next.config.js +++ b/next.config.js @@ -168,11 +168,7 @@ const config = { destination: '/api/scripts/telemetry', }, { - source: '/teams/:teamId/settings/:path*', - destination: '/teams/:teamId/settings/:path*', - }, - { - source: '/teams/:teamId/:path*', + source: '/teams/:teamId/:path((?!settings).*)*', destination: '/:path*', }, ]; diff --git a/src/app/(main)/teams/[teamId]/settings/websites/[websiteId]/page.tsx b/src/app/(main)/teams/[teamId]/settings/websites/[websiteId]/page.tsx new file mode 100644 index 000000000..a68952968 --- /dev/null +++ b/src/app/(main)/teams/[teamId]/settings/websites/[websiteId]/page.tsx @@ -0,0 +1,5 @@ +import Page from 'app/(main)/settings/websites/[websiteId]/page'; + +export default function ({ params }) { + return ; +}