Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Fixed team settings not found.

Mike Cao7342d52c6895
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 <Page params={params} />;
+}