implement cloud mode logic

This commit is contained in:
Francis Cao committed 2023-02-09 10:13:50 -08:00
1 parent 54d5af5cbb
commit 9f8ea060b6
3 files changed
+28 -35

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ export default function LoginPage({ pageDisabled }) {
export async function getServerSideProps() {
return {
props: {
pageDisabled: !!process.env.DISABLE_LOGIN,
pageDisabled: !!process.env.CLOUD_MODE,
},
};
}