diff --git a/.env.example b/.env.example index e9457b89f..0f445822b 100644 --- a/.env.example +++ b/.env.example @@ -2,4 +2,6 @@ VITE_APPWRITE_ENDPOINT= VITE_APPWRITE_GROWTH_ENDPOINT= VITE_GA_PROJECT= VITE_SENTRY_DSN= -VITE_CONSOLE_MODE=self-hosted \ No newline at end of file +VITE_CONSOLE_MODE=self-hosted +VITE_CONSOLE_MODE=cloud +VITE_CONSOLE_TIER=base \ No newline at end of file diff --git a/src/lib/stores/app.ts b/src/lib/stores/app.ts index c6003bea8..b99553a8a 100644 --- a/src/lib/stores/app.ts +++ b/src/lib/stores/app.ts @@ -19,7 +19,9 @@ export const app = writable({ themeInUse: 'light' }); -export const isCloud = import.meta.env.VITE_CONSOLE_MODE?.toString() === 'cloud' ? true : false; +export const isCloud = + (import.meta.env.VITE_CONSOLE_MODE?.toString() ?? 'cloud') === 'cloud' ? true : false; +// export const isCloud = import.meta.env.VITE_CONSOLE_MODE?.toString() === 'cloud' ? true : false; function createFeedbackStore() { const { subscribe, update } = writable({