mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
23 lines
423 B
JavaScript
23 lines
423 B
JavaScript
import AppLayout from 'components/layout/AppLayout';
|
|
import WebsitesList from 'components/pages/settings/websites/WebsitesList';
|
|
|
|
export default function WebsitesPage({ disabled }) {
|
|
if (disabled) {
|
|
return null;
|
|
}
|
|
|
|
return (
|
|
<AppLayout>
|
|
<WebsitesList />
|
|
</AppLayout>
|
|
);
|
|
}
|
|
|
|
export async function getServerSideProps() {
|
|
return {
|
|
props: {
|
|
disabled: !!process.env.CLOUD_MODE,
|
|
},
|
|
};
|
|
}
|