mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Settings refactor.
This commit is contained in:
parent
1b81074752
commit
c98f324c22
56 changed files with 706 additions and 348 deletions
|
|
@ -125,7 +125,7 @@ if (collectApiEndpoint) {
|
|||
const redirects = [
|
||||
{
|
||||
source: '/settings',
|
||||
destination: '/settings/profile',
|
||||
destination: '/settings/preferences',
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
|
|
@ -133,11 +133,6 @@ const redirects = [
|
|||
destination: '/teams/:id/websites',
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: '/teams/:id/settings',
|
||||
destination: '/teams/:id/settings/team',
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: '/admin',
|
||||
destination: '/admin/users',
|
||||
|
|
@ -173,12 +168,6 @@ if (cloudMode && cloudUrl) {
|
|||
permanent: false,
|
||||
});
|
||||
|
||||
redirects.push({
|
||||
source: '/teams/:id/settings/:path*',
|
||||
destination: `${cloudUrl}/teams/:id/settings/:path*`,
|
||||
permanent: false,
|
||||
});
|
||||
|
||||
if (disableLogin) {
|
||||
redirects.push({
|
||||
source: '/login',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue