mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #270 from appwrite/fix-handle-empty-growth-endpoint
fix: analytics for preview deployments
This commit is contained in:
@@ -5,7 +5,8 @@ import { page } from '$app/stores';
|
||||
import { user } from '$lib/stores/user';
|
||||
import { growthEndpoint, Mode } from '$lib/constants';
|
||||
|
||||
const isDevelopment = import.meta.env.DEV || import.meta.env?.VERCEL_ENV?.toString() === 'preview';
|
||||
const isDevelopment =
|
||||
import.meta.env.DEV || import.meta.env?.VITE_VERCEL_ENV?.toString() === 'preview';
|
||||
const analytics = Analytics({
|
||||
app: 'appwrite',
|
||||
plugins: [
|
||||
|
||||
Reference in New Issue
Block a user