mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
Updated settings.
This commit is contained in:
parent
be2fc0de8d
commit
9260e5bc33
16 changed files with 62 additions and 39 deletions
|
|
@ -1,9 +1,11 @@
|
|||
export default () => null;
|
||||
|
||||
export async function getServerSideProps() {
|
||||
const dest = process.env.CLOUD_MODE ? 'profile' : 'websites';
|
||||
|
||||
return {
|
||||
redirect: {
|
||||
destination: '/settings/websites',
|
||||
destination: `/settings/${dest}`,
|
||||
permanent: true,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue