Refactored settings. Updated sidebar.
This commit is contained in:
@@ -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*',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user