mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Refactored settings. Updated sidebar.
This commit is contained in:
parent
d130242a0a
commit
3c5c1e48e9
26 changed files with 144 additions and 129 deletions
|
|
@ -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*',
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue