diff --git a/next.config.js b/next.config.js index d7546d75..acb83a92 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 00000000..a6895296 --- /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 ; +}