add cloud_mode

This commit is contained in:
Brian Cao 2022-10-12 15:35:33 -07:00
parent 9147415761
commit db1ae3f2c7
13 changed files with 103 additions and 25 deletions

View file

@ -1,3 +1,11 @@
import Index from './index';
export default Index;
export async function getServerSideProps() {
return {
props: {
settingsDisabled: !!process.env.CLOUD_MODE,
},
};
}