mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 22:57:12 +01:00
Added settings redirect for cloud.
This commit is contained in:
parent
f2f5517051
commit
cc574e6da4
6 changed files with 15 additions and 17 deletions
|
|
@ -59,7 +59,9 @@ if (process.env.TRACKER_SCRIPT_NAME) {
|
|||
const redirects = [
|
||||
{
|
||||
source: '/settings',
|
||||
destination: process.env.CLOUD_MODE ? '/settings/profile' : '/settings/websites',
|
||||
destination: process.env.CLOUD_MODE
|
||||
? `${process.env.CLOUD_URL}/settings/websites`
|
||||
: '/settings/websites',
|
||||
permanent: true,
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue