mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
13 lines
242 B
JavaScript
13 lines
242 B
JavaScript
export default () => null;
|
|
|
|
export async function getServerSideProps() {
|
|
const dest = process.env.CLOUD_MODE ? 'profile' : 'websites';
|
|
|
|
return {
|
|
redirect: {
|
|
destination: `/settings/${dest}`,
|
|
permanent: true,
|
|
},
|
|
};
|
|
}
|