Refactored settings. Updated sidebar.

This commit is contained in:
Mike Cao 2025-08-15 22:16:28 -07:00
parent d130242a0a
commit 3c5c1e48e9
26 changed files with 144 additions and 129 deletions

View file

@ -97,12 +97,7 @@ const headers = [
},
];
const rewrites = [
{
source: '/teams/:id/settings/:path*',
destination: '/settings/:path*',
},
];
const rewrites = [];
if (trackerScriptURL) {
rewrites.push({
@ -134,6 +129,11 @@ const redirects = [
destination: '/teams/:id/websites',
permanent: true,
},
{
source: '/teams/:id/settings',
destination: '/teams/:id/settings/preferences',
permanent: true,
},
{
source: '/admin',
destination: '/admin/users',
@ -205,7 +205,7 @@ export default {
destination: '/api/scripts/telemetry',
},
{
source: '/teams/:teamId/:path((?!settings).*)*',
source: '/teams/:teamId/:path*',
destination: '/:path*',
},
];