add cloud_mode

This commit is contained in:
Brian Cao committed 2022-10-12 15:35:33 -07:00
1 parent 9147415761
commit db1ae3f2c7
13 files changed
+103 -25

No files matched your search

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