umami/pages/settings/websites/index.js
2023-02-28 20:04:07 -08:00

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,
},
};
}